|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.lessy.util.configuration.Environment
public class Environment
Global Environment initializes the Spring-Beans factory acts as a factory for those Beans
| Constructor Summary | |
|---|---|
Environment()
Deprecated. Default Constructor. |
|
| Method Summary | |
|---|---|
protected void |
afterInitialize(org.springframework.context.ApplicationContext applicationContext)
Deprecated. Is called after the default context has been loaded. |
org.springframework.context.ApplicationContext |
getApplicationContext()
Deprecated. Gets the Application Context |
static Environment |
getInstance()
Deprecated. Gets the singleton instance of the environment |
static void |
initialize()
Deprecated. Initializes the Environment. |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Deprecated. Setter for the spring application context called by Spring |
void |
shutDown()
Deprecated. De-Initializes the Environment, i.e. at the end of the Application. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Environment()
IllegalStateException - if the constructor is called more then once. Only call it once because it is
a singleton| Method Detail |
|---|
public static void initialize()
public static Environment getInstance()
public void shutDown()
shutDown in interface Environmentableprotected void afterInitialize(org.springframework.context.ApplicationContext applicationContext)
applicationContext -
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareapplicationContext -
org.springframework.beans.BeansExceptionpublic org.springframework.context.ApplicationContext getApplicationContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||