当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 cluster API Documentation 英文版文档
HANamingServiceMBean (JBoss Cluster API) - JBoss 4.0.1 sp1 cluster API Documentation 英文版文档
org.jboss.ha.jndi
Interface HANamingServiceMBean
- All Superinterfaces:
- DetachedHANamingServiceMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
- All Known Implementing Classes:
- HANamingService
- public interface HANamingServiceMBean
- extends DetachedHANamingServiceMBean
* HA-JNDI service that provides JNDI services in a clustered way.
* Bindings are replicated cluster-wide.
* Lookups are:
* - first resolved locally in the cluster-wide tree
* - if not available, resolved in the local underlying JNDI tree
* - if not available, the query is broadcast on the cluster and each node determines
* if it has one in its local JNDI tree
*
* The HA-JNDI service also provides an automatic-discovery feature that allow clients
* to resolve the service through multicast.
*
* @author Bill Burke
* @author Sacha Labourey
* @version $Revision: 1.16 $
*
*
Revisions:
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 interface org.jboss.ha.jndi.DetachedHANamingServiceMBean |
getAutoDiscoveryAddress, getAutoDiscoveryGroup, getBacklog, getBindAddress, getMethodMap, getPartitionName, getPort, getProxyFactoryObjectName, invoke, setAutoDiscoveryAddress, setAutoDiscoveryGroup, setBacklog, setBindAddress, setPartitionName, setPort, setProxyFactoryObjectName |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
setRmiPort
public void setRmiPort(int p)
- RmiPort to be used by the HA-JNDI service once bound. 0 => auto.
getRmiPort
public int getRmiPort()
getClientSocketFactory
public String getClientSocketFactory()
- Client socket factory to be used for client-server RMI invocations during JNDI queries
setClientSocketFactory
public void setClientSocketFactory(String factoryClassName)
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException
- Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
getServerSocketFactory
public String getServerSocketFactory()
- Server socket factory to be used for client-server RMI invocations during JNDI queries
setServerSocketFactory
public void setServerSocketFactory(String factoryClassName)
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException
- Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.