Package org.jboss.jca.web.console
Class MBeanData
java.lang.Object
org.jboss.jca.web.console.MBeanData
- All Implemented Interfaces:
Comparable
A MBean ObjectName and MBeanInfo pair that is orderable by ObjectName.
- Author:
- Scott Stark, Jesper Pedersen
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorMBeanData(ObjectName objectName, MBeanInfo metaData) Constructor -
Method Summary
Modifier and TypeMethodDescriptionintCompares MBeanData based on the ObjectName domain name and canonical key propertiesbooleanEqualsGet the class nameGet the metadatagetName()Get the string repsentation of the object nameGet the key propertues listingGet the object nameinthashCode()Hash codevoidsetMetaData(MBeanInfo metaData) Set the metadatavoidsetObjectName(ObjectName objectName) Set the object name
-
Constructor Details
-
MBeanData
public MBeanData()Constructor -
MBeanData
Constructor- Parameters:
objectName- The object namemetaData- The metadata about the bean
-
-
Method Details
-
getObjectName
Get the object name- Returns:
- The name
-
setObjectName
Set the object name- Parameters:
objectName- The new value
-
getMetaData
Get the metadata- Returns:
- The data
-
setMetaData
Set the metadata- Parameters:
metaData- The new value
-
getName
Get the string repsentation of the object name- Returns:
- The string
-
getNameProperties
Get the key propertues listing- Returns:
- The keys
-
getClassName
Get the class name- Returns:
- The class name
-
compareTo
Compares MBeanData based on the ObjectName domain name and canonical key properties- Specified by:
compareToin interfaceComparable- Parameters:
o- the MBeanData to compare against- Returns:
- invalid input: '<' 0 if this is less than o, > 0 if this is greater than o, 0 if equal.
-
hashCode
public int hashCode()Hash code -
equals
Equals
-