FileDocCategorySizeDatePackage
DetachedHANamingServiceMBean.javaAPI DocJBoss 4.2.15346Fri Jul 13 20:52:36 BST 2007org.jboss.ha.jndi

DetachedHANamingServiceMBean

public interface DetachedHANamingServiceMBean implements org.jboss.system.ServiceMBean
The standard mbean management interface for the DetachedHANamingService
author
Scott.Stark@jboss.org
version
$Revision: 57188 $

Revisions:

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetAutoDiscoveryAddress()
Get the auto-discovery bootstrap multicast address.

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

public intgetAutoDiscoveryGroup()
Get the Auto-discovery multicast port

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

public intgetBacklog()
Get the accept backlog for the bootstrap server socket

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

public org.jboss.ha.framework.server.ClusterPartitionMBeangetClusterPartition()
Get the underlying partition used by this service.

return
the partition

public booleangetDiscoveryDisabled()
prevent autodiscovery service from starting

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

jmx:managed-attribute
return
A Map of the Naming interface

public java.lang.StringgetPartitionName()
Gets the name of the HAPartition used by this service.

return
the name of the partition
deprecate
use {@link #getClusterPartition()}

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

public javax.management.ObjectNamegetProxyFactoryObjectName()
Get the proxy factory service name used to create the Naming transport proxy.

public java.lang.Objectinvoke(org.jboss.invocation.Invocation invocation)
Expose the Naming service via JMX for detached invokers.

param
invocation A pointer to the invocation object
return
Return value of method invocation.
throws
Exception Failed to invoke method.

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

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

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

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

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

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

public voidsetClusterPartition(org.jboss.ha.framework.server.ClusterPartitionMBean clusterPartition)
Sets the underlying partition used by this service.

param
clusterPartition the partition

public voidsetDiscoveryDisabled(boolean disabled)
prevent autodiscovery service from starting

public voidsetLookupPool(org.jboss.util.threadpool.BasicThreadPoolMBean poolMBean)
Set the thread pool used for the bootstrap and autodiscovery lookups

param
poolMBean

public voidsetPartitionName(java.lang.String name)
Sets the name of the HAPartition used by this service.

param
name the name of the partition
deprecate
use {@link #setClusterPartition()}

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

public voidsetProxyFactoryObjectName(javax.management.ObjectName proxyFactory)
Set the proxy factory service name used to create the Naming transport proxy.