org.jboss.invocation.jrmp.server
Class JRMPInvokerHA

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byorg.jboss.invocation.jrmp.server.JRMPInvoker (src) 
              extended byorg.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
 
Fields inherited from interface org.jboss.invocation.Invoker (src)
ID
 
Constructor Summary
JRMPInvokerHA()
          Explicit no-args constructor.
 
Method Summary
 Invoker (src) createProxy(ObjectName (src)  beanName, LoadBalancePolicy (src)  policy, java.lang.String proxyFamilyName)
           
 java.lang.Object invoke(Invocation (src)  invocation)
          Invoke a Remote interface method.
 void registerBean(ObjectName (src)  beanName, HATarget (src)  target)
           
protected  void startService()
           
protected  void stopService()
           
 void unregisterBean(ObjectName (src)  beanName)
           
 
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
 
Methods inherited from interface org.jboss.invocation.InvokerHA (src)
getStub
 

Field Detail

beanMap

protected java.util.HashMap beanMap
Constructor Detail

JRMPInvokerHA

public JRMPInvokerHA()
Explicit no-args constructor.

Method Detail

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