|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.studio.confluence.startup.ConfluenceInitialData
public class ConfluenceInitialData
BEFORE EDITING THIS FILE
Some important things to note: When this executes, Confluence's main Spring container may or may not be started. If it's not started then we must be in the setup wizard, and so we setup. At some point during that (when we bootstrap the datasource) the main Confluence spring container comes up, from that point on we can use components from it. Before then we can only use the limited components that come from Confluence's bootstrap spring container. This class was written by reverse engineering the various actions in com.atlassian.confluence.setup.actions. Do not modify anything without consulting these first. Comments should indicate which action any given code is modelled off. Issue file for the Confluence team asking them to refactor this logic so that we can remove the duplication: https://jira.atlassian.com/browse/CONF-23147
Constructor Summary | |
---|---|
ConfluenceInitialData()
|
Method Summary | |
---|---|
void |
start(javax.servlet.ServletContext servletContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfluenceInitialData()
Method Detail |
---|
public void start(javax.servlet.ServletContext servletContext)
start
in interface com.atlassian.startup.StartupExtension
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |