| org.jboss.ha.framework.server.util.PingJndiMBean
All known Subclasses: org.jboss.ha.framework.server.util.PingJndi,
PingJndiMBean | public interface PingJndiMBean (Code) | | author: Scott.Stark@jboss.org version: $Revision: 57188 $ |
Method Summary | |
public String[] | getLookupNames() | public String | getProviderURLPattern() Get the Context.PROVIDER_URL regular expression. | public void | membershipChanged(ArrayList deadMembers, ArrayList newMembers, ArrayList allMembers, String logCategoryName) The TopologyMonitorService trigger callback operation.
Parameters: deadMembers - ArrayList of nodes that were removed Parameters: newMembers - ArrayList of nodes that were added Parameters: allMembers - ArrayList of nodes currently in the cluster Parameters: logCategoryName - the log4j category name used by theTopologyMonitorService. | public void | setLookupNames(String[] names) | public void | setProviderURLPattern(String regex) Set the expression containing the hostname/IP ${host} reference of
the JNDI provider. |
getLookupNames | public String[] getLookupNames()(Code) | | Get the names of JNDI bindings that should be queried on each host
the array of target names to test |
getProviderURLPattern | public String getProviderURLPattern()(Code) | | Get the Context.PROVIDER_URL regular expression.
the expression containing the ${host} reference, for example'jnp://${host}:1099/' |
membershipChanged | public void membershipChanged(ArrayList deadMembers, ArrayList newMembers, ArrayList allMembers, String logCategoryName)(Code) | | The TopologyMonitorService trigger callback operation.
Parameters: deadMembers - ArrayList of nodes that were removed Parameters: newMembers - ArrayList of nodes that were added Parameters: allMembers - ArrayList of nodes currently in the cluster Parameters: logCategoryName - the log4j category name used by theTopologyMonitorService. This is used for logging to integrate withthe TopologyMonitorService output. |
setLookupNames | public void setLookupNames(String[] names)(Code) | | Set the names of JNDI bindings that should be queried on each host
Parameters: names - |
setProviderURLPattern | public void setProviderURLPattern(String regex)(Code) | | 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.
Parameters: regex - the regular expression containing the host, for example'jnp://(host):1099/' |
|
|