jrun.servlet.jrpp
Class JRunProxyClusterHelper
jrunx.kernel.ServiceAdapter
|
+--jrunx.kernel.ServicePartition
|
+--jrunx.kernel.ConfigurableServicePartition
|
+--jrunx.cluster.ClusterableServiceAdapter
|
+--jrun.servlet.jrpp.JRunProxyClusterHelper
- All Implemented Interfaces:
- ClusterableService, ClusterableServiceAdapterMBean, ClusterConstants, ConfigurableServicePartitionMBean, JRunProxyClusterHelperRemote, PeerListener, javax.naming.Referenceable, java.rmi.Remote, java.io.Serializable, Service, ServiceMBean, ServicePartitionMBean
- public class JRunProxyClusterHelper
- extends ClusterableServiceAdapter
- implements JRunProxyClusterHelperRemote, PeerListener
- See Also:
- Serialized Form
| Fields inherited from class jrunx.kernel.ServiceAdapter |
DEFAULT_DEACTIVATED, DEFAULT_DOMAIN, DOMAIN_NAME_SEPARATOR, DOMAIN_NAME_SUFFIX, domainName, jndiBindable, LOGGER_CACHE_TIME, SCHEDULER_SERVICE, SECURITY_MANAGER, server, status, TRANSACTION_MANAGER |
| Methods inherited from class jrunx.cluster.ClusterableServiceAdapter |
addPeerListener, addServersToClients, getClientSocketFactory, getClusterAlgorithm, getPeers, getPort, getRemoteHostIP, getRemoteHostName, getRemoteServerName, getServerInfo, getServerSocketFactoryClass, invoke, isValidPeer, killRemoteServer, numPeers, setClientSocketFactoryClass, setClusterAlgorithm, setPort, setServerSocketFactoryClass, toStub |
| Methods inherited from class jrunx.kernel.ServiceAdapter |
bind, findObjectInstance, findObjectInstance, findObjectInstance, getBindToJNDI, getDeactivated, getDomainName, getDomainSearchPath, getJRunService, getLogger, getName, getParentService, getReference, getResourceManager, getServerName, getServerProperties, getStatus, invokeMethod, isInPartition, isPartition, lookup, postDeregister, postRegister, preDeregister, preRegister, requestServer, scheduleRunnable, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, toString, unbind, unscheduleRunnable, updateStatus |
| Methods inherited from interface jrunx.kernel.ServiceMBean |
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind |
OBJECT_NAME
public static final java.lang.String OBJECT_NAME
JRunProxyClusterHelper
public JRunProxyClusterHelper(JRunProxyService jrpp)
init
public void init()
throws java.lang.Exception
- Description copied from class:
ServiceAdapter
- Not every service needs to init, implement it out of convenience.
- Overrides:
init in class ClusterableServiceAdapter
start
public void start()
throws java.lang.Exception
- Description copied from class:
ServiceAdapter
- Every service other than mere data collections should start
- Overrides:
start in class ClusterableServiceAdapter
stop
public void stop()
throws java.lang.Exception
- Description copied from class:
ServiceAdapter
- Every service other than mere data collections should stop
- Overrides:
stop in class ClusterableServiceAdapter
destroy
public void destroy()
throws java.lang.Exception
- Description copied from class:
ServiceAdapter
- Every service is eventually destroyed. Convenience implementation.
- Overrides:
destroy in class ClusterableServiceAdapter
isClusteringEnabled
public boolean isClusteringEnabled()
getJrppHost
public java.lang.String getJrppHost()
throws java.rmi.RemoteException
- Specified by:
getJrppHost in interface JRunProxyClusterHelperRemote
getJrppPort
public java.lang.String getJrppPort()
throws java.rmi.RemoteException
- Specified by:
getJrppPort in interface JRunProxyClusterHelperRemote
setSequence
public void setSequence(int iSeq)
throws java.rmi.RemoteException
- Specified by:
setSequence in interface JRunProxyClusterHelperRemote
getSequence
public int getSequence()
throws java.rmi.RemoteException
- Specified by:
getSequence in interface JRunProxyClusterHelperRemote
peerAddedEvent
public void peerAddedEvent(ClusterableService peer)
- Specified by:
peerAddedEvent in interface PeerListener
peerRemovedEvent
public void peerRemovedEvent(ClusterableService peer)
- Specified by:
peerRemovedEvent in interface PeerListener
Copyright � 2002 Macromedia Corporation. All Rights Reserved.