org.apache.geronimo.openejb.cluster.infra
Class NetworkConnectorMonitor
java.lang.Object
org.apache.geronimo.openejb.cluster.infra.NetworkConnectorMonitor
- All Implemented Interfaces:
- GBeanLifecycle
public class NetworkConnectorMonitor
- extends Object
- implements GBeanLifecycle
- Version:
- $Rev:$ $Date:$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
GBEAN_REF_NETWORK_CONNECTORS
public static final String GBEAN_REF_NETWORK_CONNECTORS
- See Also:
- Constant Field Values
GBEAN_REF_EJB_DEP_ID_ACCESSOR
public static final String GBEAN_REF_EJB_DEP_ID_ACCESSOR
- See Also:
- Constant Field Values
GBEAN_REF_WADI_SESSION_MANAGER
public static final String GBEAN_REF_WADI_SESSION_MANAGER
- See Also:
- Constant Field Values
NetworkConnectorMonitor
public NetworkConnectorMonitor(Collection<NetworkConnector> connectors,
Collection<EjbDeploymentIdAccessor> idAccessors,
WADISessionManager sessionManager)
registerListenerForMembershipUpdates
protected void registerListenerForMembershipUpdates(WADISessionManager sessionManager)
registerListenerForDeploymentUpdates
protected void registerListenerForDeploymentUpdates(ReferenceCollection deploymentIdAccessors)
registerListenerForConnectorUpdates
protected void registerListenerForConnectorUpdates(ReferenceCollection connectors)
doFail
public void doFail()
- Specified by:
doFail in interface GBeanLifecycle
doStart
public void doStart()
throws Exception
- Specified by:
doStart in interface GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Specified by:
doStop in interface GBeanLifecycle
- Throws:
Exception
locateLocalNetworkConnectorTracker
protected NetworkConnectorTracker locateLocalNetworkConnectorTracker()
buildURI
protected URI buildURI(NetworkConnector connector)
newNetworkConnectorTrackerProxy
protected org.codehaus.wadi.servicespace.ServiceProxyFactory newNetworkConnectorTrackerProxy()
updateTrackerForAllDeploymentIds
protected void updateTrackerForAllDeploymentIds()
updateTracker
protected void updateTracker(Object deploymentId)
updateTracker
protected void updateTracker(Object deploymentId,
Set<URI> locationsToRegister)
removeTracker
protected void removeTracker(Object deploymentId)
removeTracker
protected void removeTracker(Object deploymentId,
Set<URI> locationsToUnregister)
getGBeanInfo
public static GBeanInfo getGBeanInfo()
Copyright © 2003-2009 The Apache Geronimo development community. All Rights Reserved.