|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.ha.framework.server.util.PingJndi
public class PingJndi
A utility MBean that can be used as the trigger target of the TopologyMonitorService to probe the state of JNDI on the cluster nodes.
| Field Summary |
|---|
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
|---|---|
PingJndi()
|
|
| Method Summary | |
|---|---|
String[] |
getLookupNames()
Get the names of JNDI bindings that should be queried on each host |
String |
getProviderURLPattern()
Get the Context.PROVIDER_URL regular expression. |
void |
membershipChanged(ArrayList removed,
ArrayList added,
ArrayList members,
String logCategoryName)
The TopologyMonitorService trigger callback operation. |
void |
setLookupNames(String[] names)
Set the names of JNDI bindings that should be queried on each host |
void |
setProviderURLPattern(String regex)
Set the regular expression containing the hostname/IP address of the JNDI provider. |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PingJndi()
| Method Detail |
|---|
public String[] getLookupNames()
getLookupNames in interface PingJndiMBeanpublic void setLookupNames(String[] names)
setLookupNames in interface PingJndiMBeannames - public String getProviderURLPattern()
getProviderURLPattern in interface PingJndiMBeanpublic void setProviderURLPattern(String regex)
setProviderURLPattern in interface PingJndiMBeanregex - the regular expression containing the host, for example
'jnp://(host):1099/'
public void membershipChanged(ArrayList removed,
ArrayList added,
ArrayList members,
String logCategoryName)
membershipChanged in interface PingJndiMBeanremoved - ArrayListadded - ArrayListmembers - ArrayListlogCategoryName - the log4j category name used by the
TopologyMonitorService. This is used for logging to integrate with
the TopologyMonitorService output.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||