org.jboss.ha.jndi
Interface DetachedHANamingServiceMBean

All Superinterfaces:
Service (src) , ServiceMBean (src)
All Known Subinterfaces:
HANamingServiceMBean (src)
All Known Implementing Classes:
DetachedHANamingService (src) , HANamingService (src)

public interface DetachedHANamingServiceMBean
extends ServiceMBean (src)

The standard mbean management interface for the DetachedHANamingService


Field Summary
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 java.lang.String getAutoDiscoveryAddress()
          Get the auto-discovery bootstrap multicast address.
 java.lang.String getAutoDiscoveryBindAddress()
          Get the auto-discovery bootstrap multicast bind address.
 int getAutoDiscoveryGroup()
          Get the Auto-discovery multicast port
 int getAutoDiscoveryTTL()
          Get the TTL (time-to-live) for autodiscovery IP multicast packets
 int getBacklog()
          Get the accept backlog for the bootstrap server socket
 java.lang.String getBindAddress()
          Get the bootstrap IP address on which the HA-JNDI stub is made available
 boolean getDiscoveryDisabled()
          prevent autodiscovery service from starting
 java.util.Map getMethodMap()
          Expose the Naming service interface mapping as a read-only attribute
 java.lang.String getPartitionName()
          Get the name of the underlying partition for the cluster to use.
 int getPort()
          Get the bootstrap port on which the HA-JNDI stub is made available
 ObjectName (src) getProxyFactoryObjectName()
          Get the proxy factory service name used to create the Naming transport proxy.
 java.lang.Object invoke(Invocation (src)  invocation)
          Expose the Naming service via JMX for detached invokers.
 void setAutoDiscoveryAddress(java.lang.String adAddress)
          Set the auto-discovery bootstrap multicast address.
 void setAutoDiscoveryBindAddress(java.lang.String adAddress)
          Set the auto-discovery bootstrap multicast bind address.
 void setAutoDiscoveryGroup(int adGroup)
          Set the Auto-discovery multicast port.
 void setAutoDiscoveryTTL(int ttl)
          Set the TTL (time-to-live) for autodiscovery IP multicast packets
 void setBacklog(int backlog)
          Set the accept backlog for the bootstrap server socket
 void setBindAddress(java.lang.String host)
          Set the bootstrap IP address on which the HA-JNDI stub is made available
 void setDiscoveryDisabled(boolean disabled)
          prevent autodiscovery service from starting
 void setLookupPool(BasicThreadPoolMBean (src)  poolMBean)
          Set the thread pool used for the bootstrap and autodiscovery lookups
 void setPartitionName(java.lang.String partitionName)
          Set the name of the underlying partition for the cluster to use.
 void setPort(int p)
          Set the bootstrap port on which the HA-JNDI stub is made available
 void setProxyFactoryObjectName(ObjectName (src)  proxyFactory)
          Set the proxy factory service name used to create the Naming transport proxy.
 
Methods inherited from interface org.jboss.system.ServiceMBean (src)
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service (src)
create, destroy, start, stop
 

Method Detail

getPartitionName

public java.lang.String getPartitionName()
Get the name of the underlying partition for the cluster to use.


setPartitionName

public void setPartitionName(java.lang.String partitionName)
Set the name of the underlying partition for the cluster to use.


getProxyFactoryObjectName

public ObjectName (src)  getProxyFactoryObjectName()
Get the proxy factory service name used to create the Naming transport proxy.


setProxyFactoryObjectName

public void setProxyFactoryObjectName(ObjectName (src)  proxyFactory)
Set the proxy factory service name used to create the Naming transport proxy.


getPort

public int getPort()
Get the bootstrap port on which the HA-JNDI stub is made available


setPort

public void setPort(int p)
Set the bootstrap port on which the HA-JNDI stub is made available


getBindAddress

public java.lang.String getBindAddress()
Get the bootstrap IP address on which the HA-JNDI stub is made available


setBindAddress

public void setBindAddress(java.lang.String host)
                    throws java.net.UnknownHostException
Set the bootstrap IP address on which the HA-JNDI stub is made available

Throws:
java.net.UnknownHostException

getBacklog

public int getBacklog()
Get the accept backlog for the bootstrap server socket


setBacklog

public void setBacklog(int backlog)
Set the accept backlog for the bootstrap server socket


setDiscoveryDisabled

public void setDiscoveryDisabled(boolean disabled)
prevent autodiscovery service from starting


getDiscoveryDisabled

public boolean getDiscoveryDisabled()
prevent autodiscovery service from starting


getAutoDiscoveryGroup

public int getAutoDiscoveryGroup()
Get the Auto-discovery multicast port


setAutoDiscoveryGroup

public void setAutoDiscoveryGroup(int adGroup)
Set the Auto-discovery multicast port.


getAutoDiscoveryAddress

public java.lang.String getAutoDiscoveryAddress()
Get the auto-discovery bootstrap multicast address.


setAutoDiscoveryAddress

public void setAutoDiscoveryAddress(java.lang.String adAddress)
Set the auto-discovery bootstrap multicast address. If null or empty, no auto-discovery bootstrap socket will be created.


getAutoDiscoveryBindAddress

public java.lang.String getAutoDiscoveryBindAddress()
Get the auto-discovery bootstrap multicast bind address.


setAutoDiscoveryBindAddress

public void setAutoDiscoveryBindAddress(java.lang.String adAddress)
                                 throws java.net.UnknownHostException
Set the auto-discovery bootstrap multicast bind address. If not specified and a BindAddress is specified, the BindAddress will be used.

Throws:
java.net.UnknownHostException

getAutoDiscoveryTTL

public int getAutoDiscoveryTTL()
Get the TTL (time-to-live) for autodiscovery IP multicast packets


setAutoDiscoveryTTL

public void setAutoDiscoveryTTL(int ttl)
Set the TTL (time-to-live) for autodiscovery IP multicast packets


setLookupPool

public void setLookupPool(BasicThreadPoolMBean (src)  poolMBean)
Set the thread pool used for the bootstrap and autodiscovery lookups

Parameters:
poolMBean -

getMethodMap

public java.util.Map getMethodMap()
Expose the Naming service interface mapping as a read-only attribute

Returns:
A Map of the Naming interface

invoke

public java.lang.Object invoke(Invocation (src)  invocation)
                        throws java.lang.Exception
Expose the Naming service via JMX for detached invokers.

Parameters:
invocation - A pointer to the invocation object
Returns:
Return value of method invocation.
Throws:
java.lang.Exception - Failed to invoke method.