org.jboss.invocation.jrmp.server
Class JRMPInvokerHA
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
org.jboss.invocation.jrmp.server.JRMPInvoker (src)
org.jboss.invocation.jrmp.server.JRMPInvokerHA
- All Implemented Interfaces:
- Invoker (src) , InvokerHA (src) , MBeanRegistration (src) , java.rmi.Remote, java.io.Serializable
- public class JRMPInvokerHA
- extends JRMPInvoker (src)
- implements InvokerHA (src)
The JRMPInvokerHA is an HA-RMI implementation that can generate Invocations from RMI/JRMP
into the JMX base
- See Also:
- Serialized Form
Field Summary |
protected java.util.HashMap |
beanMap
|
Fields inherited from class org.jboss.invocation.jrmp.server.JRMPInvoker (src) |
ANONYMOUS_PORT, backlog, clientSocketFactory, clientSocketFactoryName, enableClassCaching, invokerStub, log, rmiPort, serverAddress, serverSocketFactory, serverSocketFactoryName, sslDomain, support |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary |
JRMPInvokerHA()
Explicit no-args constructor. |
Methods inherited from class org.jboss.invocation.jrmp.server.JRMPInvoker (src) |
create, createDelegateInvoker, destroy, destroyService, exportCI, getBacklog, getEnableClassCaching, getName, getRMIClientSocketFactory, getRMIClientSocketFactoryBean, getRMIObjectPort, getRMIServerSocketFactory, getRMIServerSocketFactoryBean, getSecurityDomain, getServer, getServerAddress, getServerHostName, getState, getStateString, getStub, importTPC, jbossInternalLifecycle, loadCustomSocketFactories, postDeregister, postRegister, preDeregister, preRegister, rebind, setBacklog, setEnableClassCaching, setRMIClientSocketFactory, setRMIClientSocketFactoryBean, setRMIObjectPort, setRMIServerSocketFactory, setRMIServerSocketFactoryBean, setSecurityDomain, setServerAddress, start, stop, unexportCI |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
beanMap
protected java.util.HashMap beanMap
JRMPInvokerHA
public JRMPInvokerHA()
- Explicit no-args constructor.
startService
protected void startService()
throws java.lang.Exception
- Overrides:
startService
in class JRMPInvoker (src)
- Throws:
java.lang.Exception
stopService
protected void stopService()
throws java.lang.Exception
- Overrides:
stopService
in class JRMPInvoker (src)
- Throws:
java.lang.Exception
registerBean
public void registerBean(ObjectName (src) beanName,
HATarget (src) target)
throws java.lang.Exception
- Specified by:
registerBean
in interface InvokerHA (src)
- Throws:
java.lang.Exception
createProxy
public Invoker (src) createProxy(ObjectName (src) beanName,
LoadBalancePolicy (src) policy,
java.lang.String proxyFamilyName)
throws java.lang.Exception
- Specified by:
createProxy
in interface InvokerHA (src)
- Throws:
java.lang.Exception
unregisterBean
public void unregisterBean(ObjectName (src) beanName)
throws java.lang.Exception
- Specified by:
unregisterBean
in interface InvokerHA (src)
- Throws:
java.lang.Exception
invoke
public java.lang.Object invoke(Invocation (src) invocation)
throws java.lang.Exception
- Invoke a Remote interface method.
- Specified by:
invoke
in interface Invoker (src)
- Overrides:
invoke
in class JRMPInvoker (src)
- Throws:
java.lang.Exception