org.jboss.proxy.generic
Class ProxyFactoryHA
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.invocation.jrmp.server.JRMPProxyFactory (src)
org.jboss.proxy.generic.ProxyFactoryHA
- All Implemented Interfaces:
- DistributedReplicantManager.ReplicantListener (src) , JRMPProxyFactoryMBean (src) , MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , ProxyFactoryHAMBean (src) , Service (src) , ServiceMBean (src)
- public class ProxyFactoryHA
- extends JRMPProxyFactory (src)
- implements ProxyFactoryHAMBean (src) , DistributedReplicantManager.ReplicantListener (src)
ProxyFactory for Clustering
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
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 (src) |
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 (src) |
create, destroy, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
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 (src) |
getClientInterceptors, getExportedInterface, getExportedInterfaces, getInvokerName, getInvokeTargetMethod, getJndiName, getProxy, getTargetName, invoke, setClientInterceptors, setExportedInterface, setExportedInterfaces, setInvokerName, setInvokeTargetMethod, setJndiName, setTargetName |
replicantName
protected java.lang.String replicantName
invokerHA
protected InvokerHA (src) invokerHA
target
protected HATarget (src) target
invoker
protected Invoker (src) invoker
drm
protected DistributedReplicantManager (src) drm
partitionObjectName
protected ObjectName (src) partitionObjectName
loadBalancePolicy
protected java.lang.String loadBalancePolicy
listener
protected NotificationListener (src) listener
state
protected int state
ProxyFactoryHA
public ProxyFactoryHA()
getPartitionObjectName
public ObjectName (src) getPartitionObjectName()
- Specified by:
getPartitionObjectName
in interface ProxyFactoryHAMBean (src)
setPartitionObjectName
public void setPartitionObjectName(ObjectName (src) partitionObjectName)
- Specified by:
setPartitionObjectName
in interface ProxyFactoryHAMBean (src)
getLoadBalancePolicy
public java.lang.String getLoadBalancePolicy()
- Specified by:
getLoadBalancePolicy
in interface ProxyFactoryHAMBean (src)
setLoadBalancePolicy
public void setLoadBalancePolicy(java.lang.String loadBalancePolicy)
- Specified by:
setLoadBalancePolicy
in interface ProxyFactoryHAMBean (src)
createService
public void createService()
throws java.lang.Exception
- Description copied from class:
ServiceMBeanSupport (src)
- Sub-classes should override this method to provide
custum 'create' logic.
This method is empty, and is provided for convenience
when concrete service classes do not need to perform
anything specific for this state change.
- Overrides:
createService
in class ServiceMBeanSupport (src)
- Throws:
java.lang.Exception
startService
protected void startService()
throws java.lang.Exception
- Description copied from class:
JRMPProxyFactory (src)
- Initializes the servlet.
- Overrides:
startService
in class JRMPProxyFactory (src)
- Throws:
java.lang.Exception
stopService
public void stopService()
throws java.lang.Exception
- Description copied from class:
ServiceMBeanSupport (src)
- Sub-classes should override this method to provide
custum 'stop' logic.
This method is empty, and is provided for convenience
when concrete service classes do not need to perform
anything specific for this state change.
- Overrides:
stopService
in class JRMPProxyFactory (src)
- Throws:
java.lang.Exception
destroyService
public void destroyService()
throws java.lang.Exception
- Description copied from class:
ServiceMBeanSupport (src)
- Sub-classes should override this method to provide
custum 'destroy' logic.
This method is empty, and is provided for convenience
when concrete service classes do not need to perform
anything specific for this state change.
- Overrides:
destroyService
in class JRMPProxyFactory (src)
- Throws:
java.lang.Exception
containerIsFullyStarted
protected void containerIsFullyStarted()
containerIsAboutToStop
protected void containerIsAboutToStop()
replicantsChanged
public void replicantsChanged(java.lang.String key,
java.util.List newReplicants,
int newReplicantsViewId)
- Description copied from interface:
DistributedReplicantManager.ReplicantListener (src)
- Callback called when the content/list of replicant for a given replicant key has changed
- Specified by:
replicantsChanged
in interface DistributedReplicantManager.ReplicantListener (src)
- Parameters:
key
- The name of the key of the replicant that has changednewReplicants
- The list of new replicants for the give replicant keynewReplicantsViewId
- The new replicant view id corresponding to this change
createProxy
protected void createProxy(java.lang.Object cacheID,
java.lang.String proxyBindingName,
java.lang.ClassLoader loader,
java.lang.Class[] ifaces)
- Overrides:
createProxy
in class JRMPProxyFactory (src)