| java.lang.Object com.jcorporate.expresso.kernel.management.ExpressoRuntimeMap
ExpressoRuntimeMap | final public class ExpressoRuntimeMap (Code) | | 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.
author: Michael Rimov version: $Revision: 1.5 $ on $Date: 2004/11/17 20:48:17 $ |
ExpressoRuntimeMap | public ExpressoRuntimeMap()(Code) | | Default constructor
|
getDefaultRuntime | public static synchronized RootContainerInterface getDefaultRuntime()(Code) | | Retrieve the default runtime.
a Root Container interface for the default runtime in this JVM |
getRuntime | public static RootContainerInterface getRuntime(String name)(Code) | | Retrieve a runtime environment as specified by the name parameter. If name
is null or empty string, it returns the default runtime, if not, then
it will return whatever is in the internal Runtime Map;
Parameters: name - Name of the runtime to retrieve. the Expresso Root Container as specified by name. |
registerRuntime | public static synchronized void registerRuntime(String name, RootContainerInterface expressoRuntime)(Code) | | Add this runtime to the system
Parameters: name - Name of the runtime. If blank, it is automatically consideredthe default runtime. If it is the first runtime to be entered, it is alsoset as the default runtime until something else takes it place. Parameters: expressoRuntime - The Root Container of a particular runtime environment. |
unregisterRuntime | public static synchronized void unregisterRuntime(String name)(Code) | | Unregister a runtime, this occurs when the runtime is being destroyed,
either via a context reload or by a the container shutting down.
Parameters: name - the Name of the context to unregister |
|
|