| |
|
| java.lang.Object com.sun.jbi.framework.jse.JSEJBIBootstrap
JSEJBIBootstrap | public class JSEJBIBootstrap implements Runnable(Code) | | Provides support for running JBI from the command-line.
author: Sun Microsystems, Inc. |
Field Summary | |
final public static String | INSTANCE_NAME Environment property used for instance name. |
Constructor Summary | |
public | JSEJBIBootstrap(Properties env) Create a new JSEJBIBootstrap instance with the specified environment. |
Method Summary | |
void | loadJBIFramework() Loads the JBI framework using the Java SE platform wrapper. | public static void | main(String[] args) Runs the JBI framework in stand-alone mode under Java SE. | public void | run() Shutdown hook to allow the JBI framework to exit gracefully in the
event of an abrupt shutdown (e.g. | void | unloadJBIFramework() Unloads the JBI framework using the Java SE platform wrapper. |
INSTANCE_NAME | final public static String INSTANCE_NAME(Code) | | Environment property used for instance name.
|
JSEJBIBootstrap | public JSEJBIBootstrap(Properties env)(Code) | | Create a new JSEJBIBootstrap instance with the specified environment.
Parameters: env - environment properties |
loadJBIFramework | void loadJBIFramework()(Code) | | Loads the JBI framework using the Java SE platform wrapper. If the
framework loads successfully, this method adds a shutdown hook to
allow for civilized clean-up when the VM terminates.
|
main | public static void main(String[] args)(Code) | | Runs the JBI framework in stand-alone mode under Java SE. System
properties defined at the command-line with '-D' are passed into the
framework as environment properties.
Parameters: args - not used at this time throws: Exception - framework failed to initialize |
run | public void run()(Code) | | Shutdown hook to allow the JBI framework to exit gracefully in the
event of an abrupt shutdown (e.g. ^C).
|
unloadJBIFramework | void unloadJBIFramework()(Code) | | Unloads the JBI framework using the Java SE platform wrapper. This is
always a remote call, since the framework has (presumably) been loaded
previously by another process.
|
|
|
|