org.jboss.proxy.ejb
Class ProxyFactoryHA
java.lang.Object
org.jboss.proxy.ejb.ProxyFactory
org.jboss.proxy.ejb.ProxyFactoryHA
- All Implemented Interfaces:
- AllowedOperationsFlags, ContainerPlugin, EJBProxyFactory, GenericEntityObjectFactory, org.jboss.ha.framework.interfaces.DistributedReplicantManager.ReplicantListener, ClusterProxyFactory, Service
public class ProxyFactoryHA
- extends ProxyFactory
- implements org.jboss.ha.framework.interfaces.DistributedReplicantManager.ReplicantListener, ClusterProxyFactory
ProxyFactory for Clustering
- Version:
- $Revision: 81001 $
Revisions:
2002/01/13: billb
- Initial Revisition
2002/08/24: Sacha Labourey
- Added a "Proxy Family" string that identifies, for a same HATarget,
different families of proxies (remote, home, etc.) that may each
have its own client behaviour (round robin, etc.) => each needs its own
id in the Proxy Family Repository on the client side
- Author:
- Bill Burke
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static Logger log
replicantName
protected String replicantName
jrmp
protected InvokerHA jrmp
target
protected org.jboss.ha.framework.server.HATarget target
drm
protected org.jboss.ha.framework.interfaces.DistributedReplicantManager drm
ProxyFactoryHA
public ProxyFactoryHA()
create
public void create()
throws Exception
- Specified by:
create
in interface Service
- Overrides:
create
in class ProxyFactory
- Throws:
Exception
start
public void start()
throws Exception
- Specified by:
start
in interface Service
- Overrides:
start
in class ProxyFactory
- Throws:
Exception
setupInvokers
protected void setupInvokers()
throws Exception
- Overrides:
setupInvokers
in class ProxyFactory
- Throws:
Exception
stop
public void stop()
- Specified by:
stop
in interface Service
- Overrides:
stop
in class ProxyFactory
destroy
public void destroy()
- Specified by:
destroy
in interface Service
- Overrides:
destroy
in class ProxyFactory
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
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.