org.jboss.proxy.ejb
Class ProxyFactoryHA
java.lang.Object
org.jboss.proxy.ejb.ProxyFactory
org.jboss.proxy.ejb.ProxyFactoryHA
- All Implemented Interfaces:
- org.jboss.ejb.AllowedOperationsFlags, org.jboss.ejb.ContainerPlugin, org.jboss.ejb.EJBProxyFactory, org.jboss.ejb.GenericEntityObjectFactory, DistributedReplicantManager.ReplicantListener, org.jboss.proxy.ejb.ClusterProxyFactory, org.jboss.system.Service
public class ProxyFactoryHA
- extends org.jboss.proxy.ejb.ProxyFactory
- implements DistributedReplicantManager.ReplicantListener, org.jboss.proxy.ejb.ClusterProxyFactory
ProxyFactory for Clustering
- Version:
- $Revision: 1.12.6.6 $
- Author:
- Bill Burke, Scott.Stark@jboss.org
Nested classes/interfaces inherited from interface org.jboss.ejb.GenericEntityObjectFactory |
org.jboss.ejb.GenericEntityObjectFactory.UTIL |
Fields inherited from class org.jboss.proxy.ejb.ProxyFactory |
BEAN_INTERCEPTOR, beanInterceptorClasses, beanInvoker, container, ejbMetaData, home, HOME_INTERCEPTOR, homeInterceptorClasses, homeInvoker, includeIClientIface, invokerMetaData, isServiceEndpointOnly, jmxName, jmxNameHash, jndiBinding, LIST_ENTITY_INTERCEPTOR, listEntityInterceptorClasses, proxyClassConstructor, statelessObject |
Fields inherited from interface org.jboss.ejb.AllowedOperationsFlags |
IN_AFTER_BEGIN, IN_AFTER_COMPLETION, IN_BEFORE_COMPLETION, IN_BUSINESS_METHOD, IN_EJB_ACTIVATE, IN_EJB_CREATE, IN_EJB_FIND, IN_EJB_HOME, IN_EJB_LOAD, IN_EJB_PASSIVATE, IN_EJB_POST_CREATE, IN_EJB_REMOVE, IN_EJB_STORE, IN_EJB_TIMEOUT, IN_INTERCEPTOR_METHOD, IN_SERVICE_ENDPOINT_METHOD, IN_SET_ENTITY_CONTEXT, IN_SET_MESSAGE_DRIVEN_CONTEXT, IN_SET_SESSION_CONTEXT, IN_UNSET_ENTITY_CONTEXT, NOT_ALLOWED |
Methods inherited from class org.jboss.proxy.ejb.ProxyFactory |
bindProxy, getEJBHome, getEJBMetaData, getEntityCollection, getEntityEJBObject, getStatefulSessionEJBObject, getStatelessSessionEJBObject, initInterceptorClasses, isIdentical, loadInterceptorChain, loadInterceptorClasses, rebindHomeProxy, setContainer, setInvokerBinding, setInvokerMetaData, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.jboss.logging.Logger log
replicantName
protected String replicantName
jrmp
protected InvokerHA jrmp
target
protected HATarget target
drm
protected DistributedReplicantManager drm
ProxyFactoryHA
public ProxyFactoryHA()
create
public void create()
throws Exception
- Specified by:
create
in interface org.jboss.system.Service
- Overrides:
create
in class org.jboss.proxy.ejb.ProxyFactory
- Throws:
Exception
start
public void start()
throws Exception
- Specified by:
start
in interface org.jboss.system.Service
- Overrides:
start
in class org.jboss.proxy.ejb.ProxyFactory
- Throws:
Exception
setupInvokers
protected void setupInvokers()
throws Exception
- Overrides:
setupInvokers
in class org.jboss.proxy.ejb.ProxyFactory
- Throws:
Exception
destroy
public void destroy()
- Specified by:
destroy
in interface org.jboss.system.Service
- Overrides:
destroy
in class org.jboss.proxy.ejb.ProxyFactory
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 key.
This list will be in a consistent order on all
cluster nodes on which the current viewId is
in effectnewReplicantsViewId
- The new replicant view id corresponding to this change
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.