Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.ha » jndi » [javadoc | source]
org.jboss.ha.jndi
public class: DetachedHANamingService [javadoc | source]
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
      org.jboss.system.ServiceMBeanSupport
         org.jboss.ha.jndi.DetachedHANamingService

All Implemented Interfaces:
    DetachedHANamingServiceMBean, org.jboss.kernel.spi.dependency.KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter

Direct Known Subclasses:
    HANamingService

Management Bean for the protocol independent HA-JNDI service. This allows the naming service transport layer to be provided by a detached invoker service like JRMPInvokerHA + ProxyFactoryHA.
Field Summary
 ServerSocket bootstrapSocket    The jnp server socket through which the HAJNDI stub is vended 
 HAJNDI theServer    The Naming interface server implementation 
 Naming stub    The protocol stub returned to clients by the bootstrap lookup 
protected  HAPartition clusterPartition    The HAPartition 
 InetAddress bindAddress    The interface to bind to. This is useful for multi-homed hosts that want control over which interfaces accept connections. 
 int port    The jnp protocol listening port. The default is 1100, the same as the RMI registry default port. 
 String adGroupAddress    The autodiscovery multicast group 
 int adGroupPort    The autodiscovery port 
 InetAddress discoveryBindAddress    The interface to bind the Multicast socket for autodiscovery to 
 int autoDiscoveryTTL    The autodiscovery Multicast reply TTL 
 ThreadPool lookupPool    The thread pool used to handle jnp stub lookup requests 
Fields inherited from org.jboss.system.ServiceMBeanSupport:
SERVICE_CONTROLLER_SIG,  log,  server,  serviceName
Constructor:
 public DetachedHANamingService() 
Method from org.jboss.ha.jndi.DetachedHANamingService Summary:
createService,   destroyService,   findHAPartitionWithName,   getAutoDiscoveryAddress,   getAutoDiscoveryBindAddress,   getAutoDiscoveryGroup,   getAutoDiscoveryTTL,   getBacklog,   getBindAddress,   getClusteredCache,   getDiscoveryDisabled,   getHAPartition,   getMethodMap,   getNamingProxy,   getPartitionName,   getPort,   getProxyFactoryObjectName,   initBootstrapListener,   invoke,   setAutoDiscoveryAddress,   setAutoDiscoveryBindAddress,   setAutoDiscoveryGroup,   setAutoDiscoveryTTL,   setBacklog,   setBindAddress,   setClusteredCache,   setDiscoveryDisabled,   setHAPartition,   setJNPServerSocketFactory,   setLookupPool,   setPort,   setProxyFactoryObjectName,   startService,   stopService
Methods from org.jboss.system.ServiceMBeanSupport:
create,   createService,   destroy,   destroyService,   getDeploymentInfo,   getLog,   getName,   getNextNotificationSequenceNumber,   getObjectName,   getServer,   getServiceName,   getState,   getStateString,   jbossInternalCreate,   jbossInternalDescription,   jbossInternalDestroy,   jbossInternalLifecycle,   jbossInternalStart,   jbossInternalStop,   pojoChange,   pojoCreate,   pojoDestroy,   pojoStart,   pojoStop,   postDeregister,   postRegister,   preDeregister,   preRegister,   setKernelControllerContext,   start,   startService,   stop,   stopService,   unsetKernelControllerContext
Methods from org.jboss.mx.util.JBossNotificationBroadcasterSupport:
addNotificationListener,   getNotificationInfo,   handleNotification,   nextNotificationSequenceNumber,   removeNotificationListener,   removeNotificationListener,   sendNotification
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ha.jndi.DetachedHANamingService Detail:
 protected  void createService() throws Exception 
 protected  void destroyService() throws Exception 
 protected HAPartition findHAPartitionWithName(String name) 
 public String getAutoDiscoveryAddress() 
 public String getAutoDiscoveryBindAddress() 
 public int getAutoDiscoveryGroup() 
 public int getAutoDiscoveryTTL() 
 public int getBacklog() 
 public String getBindAddress() 
 public Cache getClusteredCache() 
 public boolean getDiscoveryDisabled() 
 public HAPartition getHAPartition() 
 public Map getMethodMap() 
    Expose the Naming service interface mapping as a read-only attribute
 protected Naming getNamingProxy() throws Exception 
    Get the Naming proxy for the transport. This version looks up the proxyFactory service Proxy attribute. Subclasses can override this to set the proxy another way.
 public String getPartitionName() 
 public int getPort() 
 public ObjectName getProxyFactoryObjectName() 
 protected  void initBootstrapListener() 
    Bring up the bootstrap lookup port for obtaining the naming service proxy
 public Object invoke(Invocation invocation) throws Exception 
    Expose the Naming service via JMX to invokers.
 public  void setAutoDiscoveryAddress(String adAddress) 
 public  void setAutoDiscoveryBindAddress(String address) throws UnknownHostException 
 public  void setAutoDiscoveryGroup(int adGroup) 
 public  void setAutoDiscoveryTTL(int ttl) 
 public  void setBacklog(int backlog) 
 public  void setBindAddress(String host) throws UnknownHostException 
 public  void setClusteredCache(Cache cache) 
 public  void setDiscoveryDisabled(boolean disable) 
 public  void setHAPartition(HAPartition clusterPartition) 
 public  void setJNPServerSocketFactory(String factoryClassName) throws ClassNotFoundException, IllegalAccessException, InstantiationException 
 public  void setLookupPool(BasicThreadPoolMBean poolMBean) 
 public  void setPort(int p) 
 public  void setProxyFactoryObjectName(ObjectName proxyFactory) 
 protected  void startService() throws Exception 
 protected  void stopService() throws Exception