org.jboss.proxy.generic
Class ProxyFactoryHA
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.invocation.jrmp.server.JRMPProxyFactory
org.jboss.proxy.generic.ProxyFactoryHA
- All Implemented Interfaces:
- MBeanRegistration, NotificationBroadcaster, NotificationEmitter, org.jboss.ha.framework.interfaces.DistributedReplicantManager.ReplicantListener, JRMPProxyFactoryMBean, org.jboss.kernel.spi.dependency.KernelControllerContextAware, ProxyFactoryHAMBean, Service, ServiceMBean
public class ProxyFactoryHA
- extends JRMPProxyFactory
- implements ProxyFactoryHAMBean, org.jboss.ha.framework.interfaces.DistributedReplicantManager.ReplicantListener
ProxyFactory for Clustering
- Version:
- $Revision: 82169 $
- Author:
- Adrian Brock
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.jrmp.server.JRMPProxyFactory |
getClientInterceptors, getExportedInterface, getExportedInterfaces, getInterceptorClasses, getInvokerName, getInvokeTargetMethod, getJndiName, getProxy, getTargetName, invoke, rebind, setClientInterceptors, setExportedInterface, setExportedInterfaces, setInvokerName, setInvokeTargetMethod, setJndiName, setTargetName |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, unsetKernelControllerContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.invocation.jrmp.server.JRMPProxyFactoryMBean |
getClientInterceptors, getExportedInterface, getExportedInterfaces, getInvokerName, getInvokeTargetMethod, getJndiName, getProxy, getTargetName, invoke, setClientInterceptors, setExportedInterface, setExportedInterfaces, setInvokerName, setInvokeTargetMethod, setJndiName, setTargetName |
replicantName
protected String replicantName
invokerHA
protected InvokerHA invokerHA
target
protected org.jboss.ha.framework.server.HATarget target
invoker
protected Invoker invoker
drm
protected org.jboss.ha.framework.interfaces.DistributedReplicantManager drm
partition
protected org.jboss.ha.framework.interfaces.HAPartition partition
loadBalancePolicy
protected String loadBalancePolicy
listener
protected NotificationListener listener
state
protected int state
ProxyFactoryHA
public ProxyFactoryHA()
getPartition
public org.jboss.ha.framework.interfaces.HAPartition getPartition()
- Specified by:
getPartition
in interface ProxyFactoryHAMBean
setPartition
public void setPartition(org.jboss.ha.framework.interfaces.HAPartition partition)
- Specified by:
setPartition
in interface ProxyFactoryHAMBean
getLoadBalancePolicy
public String getLoadBalancePolicy()
- Specified by:
getLoadBalancePolicy
in interface ProxyFactoryHAMBean
setLoadBalancePolicy
public void setLoadBalancePolicy(String loadBalancePolicy)
- Specified by:
setLoadBalancePolicy
in interface ProxyFactoryHAMBean
createService
public void createService()
throws Exception
- Overrides:
createService
in class ServiceMBeanSupport
- Throws:
Exception
startService
protected void startService()
throws Exception
- Overrides:
startService
in class JRMPProxyFactory
- Throws:
Exception
stopService
public void stopService()
throws Exception
- Overrides:
stopService
in class JRMPProxyFactory
- Throws:
Exception
destroyService
protected void destroyService()
throws Exception
- Overrides:
destroyService
in class JRMPProxyFactory
- Throws:
Exception
containerIsFullyStarted
protected void containerIsFullyStarted()
containerIsAboutToStop
protected void containerIsAboutToStop()
replicantsChanged
public void replicantsChanged(String key,
List newReplicants,
int newReplicantsViewId,
boolean merge)
- Specified by:
replicantsChanged
in interface org.jboss.ha.framework.interfaces.DistributedReplicantManager.ReplicantListener
createProxy
protected void createProxy(Object cacheID,
String proxyBindingName,
ClassLoader loader,
Class[] ifaces)
- Overrides:
createProxy
in class JRMPProxyFactory
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.