|
||||||||||
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.naming.JNDIView
public class JNDIView
A simple utlity mbean that allows one to recursively list the default JBoss InitialContext.
Field Summary | |
---|---|
protected static String[] |
g_haAttributes
The HANamingService attributes, order is significant in getHAUrl() |
protected String |
haNamingService
The HANamingService service name |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.naming.JNDIViewMBean |
---|
OBJECT_NAME |
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 | |
---|---|
JNDIView()
Provided for JMX compliance. |
Method Summary | |
---|---|
String |
getHANamingService()
The service name of the HANamingService |
protected ObjectName |
getObjectName(MBeanServer server,
ObjectName name)
|
String |
list(boolean verbose)
List deployed application java:comp namespaces, the java: namespace as well as the global InitialContext JNDI namespace. |
String |
listXML()
List deployed application java:comp namespaces, the java: namespace as well as the global InitialContext JNDI namespace in a XML Format. |
void |
setHANamingService(String serviceName)
Set the service name of the HANamingServiceg |
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 |
Methods inherited from interface org.jboss.system.ServiceMBean |
---|
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Field Detail |
---|
protected static final String[] g_haAttributes
protected String haNamingService
Constructor Detail |
---|
public JNDIView()
Method Detail |
---|
public String list(boolean verbose)
list
in interface JNDIViewMBean
verbose,
- if true, list the class of each object in addition to its namepublic String listXML()
listXML
in interface JNDIViewMBean
public String getHANamingService()
JNDIViewMBean
getHANamingService
in interface JNDIViewMBean
public void setHANamingService(String serviceName)
JNDIViewMBean
setHANamingService
in interface JNDIViewMBean
serviceName
- the service nameprotected ObjectName getObjectName(MBeanServer server, ObjectName name) throws MalformedObjectNameException
getObjectName
in class ServiceMBeanSupport
MalformedObjectNameException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |