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

HANamingServiceMBean

public interface HANamingServiceMBean implements 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: 57188 $

Revisions:

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetClientSocketFactory()
Client socket factory to be used for client-server RMI invocations during JNDI queries

public java.lang.StringgetLoadBalancePolicy()

public intgetRmiPort()

public java.lang.StringgetServerSocketFactory()
Server socket factory to be used for client-server RMI invocations during JNDI queries

public voidsetClientSocketFactory(java.lang.String factoryClassName)

public voidsetLoadBalancePolicy(java.lang.String policyName)
LoadBalancePolicy to be used by the HA-JNDI service.

public voidsetRmiPort(int p)
RmiPort to be used by the HA-JNDI service once bound. 0 => auto.

public voidsetServerSocketFactory(java.lang.String factoryClassName)