|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.setup.SetupContext
public class SetupContext
Static holder for setup Spring context. The setup context provides the services necessary to configure
Confluence before a database connection is available.
The setup context is loaded by the ConfluenceConfigurationListener only if setup is required,
and is destroyed by the FinishSetupAction.
| Constructor Summary | |
|---|---|
SetupContext()
|
|
| Method Summary | |
|---|---|
static void |
destroy()
Dispose of the setup context. |
static org.springframework.context.ConfigurableApplicationContext |
get()
Retrieve the setup context |
static void |
init(javax.servlet.ServletContext servletContext)
Initialise the setup context. |
static boolean |
isAvailable()
Determine if the setup context is available |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetupContext()
| Method Detail |
|---|
public static void init(javax.servlet.ServletContext servletContext)
servletContext - the servlet context in which the application is being set up
IllegalStateException - if the setup context has already been initialisedpublic static boolean isAvailable()
public static org.springframework.context.ConfigurableApplicationContext get()
public static void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||