public class SetupContext extends Object
The setup context is loaded by the ConfluenceConfigurationListener
only if setup is required,
and is destroyed by the FinishSetupAction
.
Constructor and Description |
---|
SetupContext() |
Modifier and Type | Method and Description |
---|---|
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
|
public static void init(javax.servlet.ServletContext servletContext)
servletContext
- the servlet context in which the application is being set upIllegalStateException
- if the setup context has already been initialisedpublic static boolean isAvailable()
public static org.springframework.context.ConfigurableApplicationContext get()
public static void destroy()
Copyright © 2003–2016 Atlassian. All rights reserved.