| java.lang.Object com.sun.jbi.framework.JBIFramework com.sun.jbi.framework.jse.JSEJBIFramework
JSEJBIFramework | public class JSEJBIFramework extends com.sun.jbi.framework.JBIFramework implements JSEJBIFrameworkMBean(Code) | | JBI framework wrapper for Java SE platform.
A JSEJBIFramework instance cannot be loaded multiple times in the same
VM. If multiple instances of the framework are required in a VM,
instantiate multiple instances of JSEJBIFramework and load each one
independently. There is no limit on the number of uniquely named
JSEJBIFramework instances in the same VM. A specific JSEJBIFramework instance
can be loaded and unloaded multiple times in a VM.
author: Sun Microsystems, Inc. |
Method Summary | |
public JMXServiceURL | getServiceURL(int port) | public boolean | isLoaded() Queries the state of the JBI Framework. | public synchronized void | load() Load the JBI framework with the specified environment. | public synchronized void | unload() Unloads the JBI framework. |
CONNECTOR_PORT | final public static String CONNECTOR_PORT(Code) | | |
JSEJBIFramework | public JSEJBIFramework(Properties environment)(Code) | | Creates a new instance of the JBI framework.
|
isLoaded | public boolean isLoaded()(Code) | | Queries the state of the JBI Framework.
true if the JBI framework is loaded, false otherwise. |
load | public synchronized void load() throws Exception(Code) | | Load the JBI framework with the specified environment. When this method
retuns, all public interfaces and system services have completely
initialized. If a connector port is specified in the environment
properties, a remote JMX connector server is created.
throws: Exception - failed to load JBI framework |
unload | public synchronized void unload() throws Exception(Code) | | Unloads the JBI framework. When this method retuns, all
public interfaces, system services, and JMX connector (if configured)
have been destroyed.
throws: javax.jbi.JBIException - failed to unload JBI framework |
|
|