FileDocCategorySizeDatePackage
PingJndiMBean.javaAPI DocJBoss 4.2.12832Fri Jul 13 20:52:38 BST 2007org.jboss.ha.framework.server.util

PingJndiMBean

public interface PingJndiMBean
author
Scott.Stark@jboss.org
version
$Revision: 57188 $

Fields Summary
Constructors Summary
Methods Summary
public java.lang.String[]getLookupNames()
Get the names of JNDI bindings that should be queried on each host

return
the array of target names to test

public java.lang.StringgetProviderURLPattern()
Get the Context.PROVIDER_URL regular expression.

return
the expression containing the ${host} reference, for example 'jnp://${host}:1099/'

public voidmembershipChanged(java.util.ArrayList deadMembers, java.util.ArrayList newMembers, java.util.ArrayList allMembers, java.lang.String logCategoryName)
The TopologyMonitorService trigger callback operation.

param
deadMembers ArrayList of nodes that were removed
param
newMembers ArrayList of nodes that were added
param
allMembers ArrayList of nodes currently in the cluster
param
logCategoryName the log4j category name used by the TopologyMonitorService. This is used for logging to integrate with the TopologyMonitorService output.

public voidsetLookupNames(java.lang.String[] names)
Set the names of JNDI bindings that should be queried on each host

param
names

public voidsetProviderURLPattern(java.lang.String regex)
Set the expression containing the hostname/IP ${host} reference of the JNDI provider. This expression is used to build the JNDI Context.PROVIDER_URL for each node in the cluster. The expression should contain a "(host)" component that will be replaced with the cluster node hostname.

param
regex the regular expression containing the host, for example 'jnp://(host):1099/'