当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 cluster API Documentation 英文版文档
ProxyFactoryHA (JBoss Cluster API) - JBoss 4.0.1 sp1 cluster API Documentation 英文版文档
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:
- DistributedReplicantManager.ReplicantListener, org.jboss.invocation.jrmp.server.JRMPProxyFactoryMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ProxyFactoryHAMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class ProxyFactoryHA
- extends org.jboss.invocation.jrmp.server.JRMPProxyFactory
- implements ProxyFactoryHAMBean, DistributedReplicantManager.ReplicantListener
ProxyFactory for Clustering
- Version:
- $Revision: 1.3 $
- Author:
- Adrian Brock
Fields inherited from class org.jboss.invocation.jrmp.server.JRMPProxyFactory |
theProxy |
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 |
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, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, 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, 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.invocation.jrmp.server.JRMPProxyFactoryMBean |
getClientInterceptors, getExportedInterface, getExportedInterfaces, getInvokerName, getInvokeTargetMethod, getJndiName, getProxy, getTargetName, invoke, setClientInterceptors, setExportedInterface, setExportedInterfaces, setInvokerName, setInvokeTargetMethod, setJndiName, setTargetName |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
replicantName
protected String replicantName
invokerHA
protected InvokerHA invokerHA
target
protected HATarget target
invoker
protected org.jboss.invocation.Invoker invoker
drm
protected DistributedReplicantManager drm
partitionObjectName
protected javax.management.ObjectName partitionObjectName
loadBalancePolicy
protected String loadBalancePolicy
listener
protected javax.management.NotificationListener listener
state
protected int state
ProxyFactoryHA
public ProxyFactoryHA()
getPartitionObjectName
public javax.management.ObjectName getPartitionObjectName()
- Specified by:
getPartitionObjectName
in interface ProxyFactoryHAMBean
setPartitionObjectName
public void setPartitionObjectName(javax.management.ObjectName partitionObjectName)
- Specified by:
setPartitionObjectName
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
- Throws:
Exception
startService
protected void startService()
throws Exception
- Throws:
Exception
stopService
public void stopService()
throws Exception
- Throws:
Exception
destroyService
public void destroyService()
throws Exception
- Throws:
Exception
containerIsFullyStarted
protected void containerIsFullyStarted()
containerIsAboutToStop
protected void containerIsAboutToStop()
replicantsChanged
public void replicantsChanged(String key,
List newReplicants,
int newReplicantsViewId)
- Description copied from interface:
DistributedReplicantManager.ReplicantListener
- Callback called when the content/list of replicant for a given replicant key has changed
- Specified by:
replicantsChanged
in interface DistributedReplicantManager.ReplicantListener
- 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(Object cacheID,
String proxyBindingName,
ClassLoader loader,
Class[] ifaces)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.