|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.metadata.AbstractBuilder
org.jboss.mx.metadata.XMBeanMetaData
Parser for the XMBean schema defined in the JMX: Managing J2EE with Java Management Extensions (xmbean.dtd)
Field Summary |
Fields inherited from class org.jboss.mx.metadata.AbstractBuilder |
properties |
Fields inherited from interface org.jboss.mx.modelmbean.XMBeanConstants |
DESCRIPTOR, GET_METHOD_ATTRIBUTE, METADATA_DESCRIPTOR_PREFIX, PERSIST_POLICY_LIST, RESOURCE_DESCRIPTOR_PREFIX, RESOURCE_REFERENCE, RESOURCE_TYPE, SAX_PARSER, SET_METHOD_ATTRIBUTE, STANDARD_INTERFACE, STANDARD_MBEAN, XMBEAN_DESCRIPTOR_PREFIX, XML_VALIDATION |
Constructor Summary | |
XMBeanMetaData(String mmbClassName,
String resourceClassName,
org.dom4j.Element element,
Map properties)
|
Method Summary | |
MBeanInfo |
build()
Constructs the Model MBean metadata. |
protected ModelMBeanAttributeInfo[] |
buildAttributeInfo(List attributes)
Parses the contents of an <attribute> element. |
protected ModelMBeanConstructorInfo[] |
buildConstructorInfo(List constructors)
Parses the contents of an <constructor> element. |
protected ModelMBeanInfo |
buildMBeanMetaData(String description,
List constructors,
List operations,
List attributes,
List notifications,
Descriptor descr)
Parses the elements under the root and turns them into a Model MBean info instance. |
protected ModelMBeanNotificationInfo[] |
buildNotificationInfo(List notifications)
Parses the contents of an <notification> element. |
protected ModelMBeanOperationInfo[] |
buildOperationInfo(List operations)
Parses the contents of an <operation> element. |
protected MBeanParameterInfo[] |
buildParameterInfo(List parameters)
Parses the contents of an <parameter> element. |
Methods inherited from class org.jboss.mx.metadata.AbstractBuilder |
getBooleanProperty, getProperties, getProperty, getStringProperty, setProperties, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMBeanMetaData(String mmbClassName, String resourceClassName, org.dom4j.Element element, Map properties)
Method Detail |
public MBeanInfo build() throws NotCompliantMBeanException
MetaDataBuilder
build
in interface MetaDataBuilder
build
in class AbstractBuilder
NotCompliantMBeanException
protected ModelMBeanInfo buildMBeanMetaData(String description, List constructors, List operations, List attributes, List notifications, Descriptor descr)
description
- the MBean description extracted from the document
instance.constructors
- list of <constructor> elements extracted
from the document instance.operations
- list of <operation> elements extracted
from the document instance.attributes
- list of <attributes> elements extracted
from the document instance.notifications
- list of <notification> elements
extracted from the document instance.descr
- MBean descriptor
protected ModelMBeanConstructorInfo[] buildConstructorInfo(List constructors)
constructors
- a list of <constructor> elements
extracted from the document instance
protected ModelMBeanOperationInfo[] buildOperationInfo(List operations)
operations
- a list of <operation> elements
extracted from the document instance
protected ModelMBeanNotificationInfo[] buildNotificationInfo(List notifications)
notifications
- a list of <notification> elements
extraced from the document instance
protected ModelMBeanAttributeInfo[] buildAttributeInfo(List attributes)
attributes
- a list of <attribute> elements
extracted from the document instance
protected MBeanParameterInfo[] buildParameterInfo(List parameters)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |