com.atlassian.studio.confluence.startup
Class ConfluenceInitialData
java.lang.Object
com.atlassian.studio.confluence.startup.ConfluenceInitialData
- All Implemented Interfaces:
- com.atlassian.startup.StartupExtension
public class ConfluenceInitialData
- extends Object
- implements com.atlassian.startup.StartupExtension
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
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 |
ConfluenceInitialData
public ConfluenceInitialData()
start
public void start(javax.servlet.ServletContext servletContext)
- Specified by:
start
in interface com.atlassian.startup.StartupExtension
Copyright © 2003-2012 Atlassian. All Rights Reserved.