org.jboss.invocation.unified.server
Class UnifiedInvokerHA

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.invocation.unified.server.UnifiedInvoker
              extended by org.jboss.invocation.unified.server.UnifiedInvokerHA
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, InvokerHA, org.jboss.invocation.unified.server.UnifiedInvokerMBean, org.jboss.remoting.ServerInvocationHandler, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class UnifiedInvokerHA
extends org.jboss.invocation.unified.server.UnifiedInvoker
implements InvokerHA

Author:
Tom Elrod

Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
UnifiedInvokerHA()
           
 
Method Summary
 org.jboss.invocation.Invoker createProxy(javax.management.ObjectName beanName, LoadBalancePolicy policy, String proxyFamilyName)
           
 Serializable getStub()
           
 Object invoke(org.jboss.remoting.InvocationRequest invocationReq)
          Implementation of the server invoker handler interface.
protected  void jmxBind()
           
 void registerBean(javax.management.ObjectName beanName, HATarget target)
           
 void unregisterBean(javax.management.ObjectName beanName)
           
 
Methods inherited from class org.jboss.invocation.unified.server.UnifiedInvoker
addListener, createService, getInvoker, getInvokerLocator, getName, getServer, getStrictRMIException, getSubSystem, removeListener, setConnector, setInvoker, setMBeanServer, setStrictRMIException, setSubSystem, startService, stopService
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, destroy, destroyService, getDeploymentInfo, getLog, getNextNotificationSequenceNumber, getObjectName, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.system.ServiceMBean
getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Constructor Detail

UnifiedInvokerHA

public UnifiedInvokerHA()
Method Detail

jmxBind

protected void jmxBind()
Overrides:
jmxBind in class org.jboss.invocation.unified.server.UnifiedInvoker

getStub

public Serializable getStub()
Specified by:
getStub in interface InvokerHA

registerBean

public void registerBean(javax.management.ObjectName beanName,
                         HATarget target)
                  throws Exception
Specified by:
registerBean in interface InvokerHA
Throws:
Exception

createProxy

public org.jboss.invocation.Invoker createProxy(javax.management.ObjectName beanName,
                                                LoadBalancePolicy policy,
                                                String proxyFamilyName)
                                         throws Exception
Specified by:
createProxy in interface InvokerHA
Throws:
Exception

unregisterBean

public void unregisterBean(javax.management.ObjectName beanName)
                    throws Exception
Specified by:
unregisterBean in interface InvokerHA
Throws:
Exception

invoke

public Object invoke(org.jboss.remoting.InvocationRequest invocationReq)
              throws Throwable
Implementation of the server invoker handler interface. Will take the invocation request and invoke down the interceptor chain.

Specified by:
invoke in interface org.jboss.remoting.ServerInvocationHandler
Overrides:
invoke in class org.jboss.invocation.unified.server.UnifiedInvoker
Parameters:
invocationReq -
Returns:
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.