org.jboss.invocation.unified.server
Class UnifiedInvokerHA
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.invocation.unified.server.UnifiedInvoker
org.jboss.invocation.unified.server.UnifiedInvokerHA
- All Implemented Interfaces:
- MBeanRegistration, NotificationBroadcaster, NotificationEmitter, InvokerHA, UnifiedInvokerMBean, org.jboss.kernel.spi.dependency.KernelControllerContextAware, org.jboss.remoting.ServerInvocationHandler, Service, ServiceMBean
public class UnifiedInvokerHA
- extends UnifiedInvoker
- implements InvokerHA
Unified invoker implementation for InvokerHA
- Author:
- Tom Elrod, Galder Zamarreno
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 |
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, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, setKernelControllerContext, start, stop, unsetKernelControllerContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnifiedInvokerHA
public UnifiedInvokerHA()
jmxBind
protected void jmxBind()
- Overrides:
jmxBind
in class UnifiedInvoker
getStub
public Serializable getStub()
- Specified by:
getStub
in interface InvokerHA
registerBean
public void registerBean(ObjectName beanName,
org.jboss.ha.framework.server.HATarget target)
throws Exception
- Specified by:
registerBean
in interface InvokerHA
- Throws:
Exception
createProxy
public Invoker createProxy(ObjectName beanName,
LoadBalancePolicy policy,
String proxyFamilyName)
throws Exception
- Specified by:
createProxy
in interface InvokerHA
- Throws:
Exception
unregisterBean
public void unregisterBean(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 UnifiedInvoker
- Parameters:
invocationReq
-
- Returns:
- response of the invocation
- Throws:
Throwable
preRegister
public ObjectName preRegister(MBeanServer server,
ObjectName name)
throws Exception
- Specified by:
preRegister
in interface MBeanRegistration
- Overrides:
preRegister
in class ServiceMBeanSupport
- Throws:
Exception
createProxy
protected Invoker createProxy(boolean isStrictRMIException,
ArrayList targets,
LoadBalancePolicy policy,
String proxyFamilyName,
long viewId)
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.