|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Environment
An environment starts and stops frameworks and other aspects required for the process to function. An example of an environment is the Spring IoC system. The SpringEnvironment.java class sets up and tears down the Spring context when the process starts and stops.
| Method Summary | |
|---|---|
void |
initialize(Environment environment,
List<? extends OptionProperty> properties)
This method is called after the start() of this environment. |
void |
initialize(Object target,
List<? extends OptionProperty> properties)
Called after the start() of this environment. |
boolean |
start()
Start the environment. |
void |
stop()
Stop the environment. |
| Method Detail |
|---|
boolean start()
void stop()
void initialize(Environment environment,
List<? extends OptionProperty> properties)
environment - Launch environment instance.properties - Annotated properties for this environment. NOTE: A property that is
annotated will not appear in this list if the option was defined during specialization. The
isValueInCommandLine() will return true if the value was specified (and set) via command
line.
void initialize(Object target,
List<? extends OptionProperty> properties)
target - The target of the launch.properties - Annotated properties for the launch target.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||