|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.kernel.management.ExpressoRuntimeMap
This class allows controllers and other classes to potentially access Expresso Runtime Environments that they aren't necessarily a part of. This is critical for Management tools, which, by nature are outside of the Expresso container hierarchy.
| Constructor Summary | |
ExpressoRuntimeMap()
Default constructor |
|
| Method Summary | |
static RootContainerInterface |
getDefaultRuntime()
Retrieve the default runtime. |
static RootContainerInterface |
getRuntime(String name)
Retrieve a runtime environment as specified by the name parameter. |
static void |
registerRuntime(String name,
RootContainerInterface expressoRuntime)
Add this runtime to the system |
static void |
unregisterRuntime(String name)
Unregister a runtime, this occurs when the runtime is being destroyed, either via a context reload or by a the container shutting down. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExpressoRuntimeMap()
| Method Detail |
public static void registerRuntime(String name,
RootContainerInterface expressoRuntime)
name - Name of the runtime. If blank, it is automatically considered
the default runtime. If it is the first runtime to be entered, it is also
set as the default runtime until something else takes it place.expressoRuntime - The Root Container of a particular runtime environment.public static RootContainerInterface getRuntime(String name)
name - Name of the runtime to retrieve.
public static RootContainerInterface getDefaultRuntime()
public static void unregisterRuntime(String name)
name - the Name of the context to unregister
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||