|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.jmx.adaptor.xml.XMLAdaptorImpl
XML Adaptor Implementation interpreting the XML wrapped JMX commands.
| Field Summary | |
protected static org.jboss.logging.Logger |
log
|
protected static Hashtable |
mPrimitives
Primitive type name -> class map. |
protected javax.management.MBeanServer |
mServer
|
| Constructor Summary | |
XMLAdaptorImpl(javax.management.MBeanServer pServer)
Constructor for the XMLAdaptorImpl object |
|
| Method Summary | |
protected Object[] |
applyAttributes(javax.management.ObjectName pName,
String[] pNames,
Object[] pValues)
|
javax.management.ObjectName |
createMBean(String pCodebase,
javax.management.ObjectName pName,
NodeList pConstructor,
NodeList pAttributes)
|
protected javax.management.ObjectName |
createObjectName(Element pObjectName)
|
protected javax.management.ObjectName |
createObjectName(String pName)
|
Object[] |
get(javax.management.ObjectName pName,
NodeList pAttributes)
|
protected Object[][] |
getAttributes(NodeList pAttributes)
Returns a list of attribute objects and types of a given Node List which must contain a attribute "type" and a text child. |
protected Object[][] |
getAttributes(javax.management.ObjectName pName,
NodeList pAttributes)
Returns a list of attribute objects and name of a given Node List which must contain a attribute "name" and a text child. |
protected Object[] |
getAttributeValues(javax.management.AttributeList pList)
|
javax.management.MBeanInfo |
getMBeanInfo(javax.management.ObjectName pName)
|
javax.management.ObjectInstance |
getObjectInstance(javax.management.ObjectName pName)
|
protected javax.management.ObjectName |
getObjectName(NodeList pObjectName)
|
protected javax.management.ObjectName |
getObjectName(String pName,
NodeList pObjectName)
|
Object |
invoke(String pOperation,
javax.management.ObjectName pName,
NodeList pAttributes)
|
Object[] |
invokeXML(Document pJmxOperations)
Performs a set of calls to the MBean Server and returns it return values. |
Object |
invokeXML(Element pJmxOperation)
Performs a single call to the MBean Server and return its return value |
Boolean |
isInstanceOf(javax.management.ObjectName pName,
String pCodebase)
|
Boolean |
isRegistered(javax.management.ObjectName pName)
|
Object[] |
set(javax.management.ObjectName pName,
NodeList pAttributes)
|
void |
unregisterMBean(javax.management.ObjectName pName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final org.jboss.logging.Logger log
protected static Hashtable mPrimitives
protected javax.management.MBeanServer mServer
| Constructor Detail |
public XMLAdaptorImpl(javax.management.MBeanServer pServer)
pServer - MBeanServer this adaptor executes its calls on| Method Detail |
public Object[] invokeXML(Document pJmxOperations) throws Exception
invokeXML in interface XMLAdaptorpJmxOperations - Complete XML Document (compliant to the
XMLAdaptor.dtd) containing a list of calls
to the MBean Server.
Exceptionpublic Object invokeXML(Element pJmxOperation) throws Exception
invokeXML in interface XMLAdaptorpJmxOperation - Second level element (compliant to XMLAdaptor.dtd)
representing one call to the MBean Server
Exceptionpublic javax.management.ObjectName createMBean(String pCodebase, javax.management.ObjectName pName, NodeList pConstructor, NodeList pAttributes) throws Exception
Exceptionpublic Object invoke(String pOperation, javax.management.ObjectName pName, NodeList pAttributes) throws Exception
Exceptionpublic Object[] get(javax.management.ObjectName pName, NodeList pAttributes) throws Exception
Exceptionpublic Object[] set(javax.management.ObjectName pName, NodeList pAttributes) throws Exception
Exception
public javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName pName)
throws Exception
Exception
public javax.management.ObjectInstance getObjectInstance(javax.management.ObjectName pName)
throws Exception
Exceptionpublic Boolean isInstanceOf(javax.management.ObjectName pName, String pCodebase) throws Exception
Exceptionpublic Boolean isRegistered(javax.management.ObjectName pName) throws Exception
Exception
public void unregisterMBean(javax.management.ObjectName pName)
throws Exception
Exceptionprotected javax.management.ObjectName getObjectName(NodeList pObjectName) throws Exception
Exceptionprotected javax.management.ObjectName getObjectName(String pName, NodeList pObjectName) throws Exception
Exceptionprotected javax.management.ObjectName createObjectName(String pName) throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameExceptionprotected javax.management.ObjectName createObjectName(Element pObjectName) throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameExceptionprotected Object[][] getAttributes(NodeList pAttributes) throws Exception
pAttributes - List of nodes containing the attribute types and values
Exceptionprotected Object[][] getAttributes(javax.management.ObjectName pName, NodeList pAttributes) throws Exception
pAttributes - List of nodes containing the attribute types and values
Exceptionprotected Object[] applyAttributes(javax.management.ObjectName pName, String[] pNames, Object[] pValues) throws Exception
Exceptionprotected Object[] getAttributeValues(javax.management.AttributeList pList)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||