javax.management.modelmbean
12 classes of the module java.management.
Load them with:
using {
"javax.management.modelmbean"
}
DescriptorSupport#
class · extends Object · javax.management.modelmbean.DescriptorSupport
Implements: Descriptor
Constructors
new DescriptorSupport() |
new DescriptorSupport(String[] fields) |
new DescriptorSupport(String inStr) |
new DescriptorSupport(int initNumFields) |
new DescriptorSupport(DescriptorSupport inDescr) |
new DescriptorSupport(String[] fieldNames, Object[] fieldValues) |
Ring: new DescriptorSupport(args) uses the constructor with the fewest parameters (at least one); new DescriptorSupport makes the object with the constructor without parameters; the others: (new DescriptorSupport).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@setField | @setField(fieldName,fieldValue) | void setField(String fieldName, Object fieldValue) |
clone | clone() | Object clone() |
getFieldNames | getFieldNames() | String[] getFieldNames() |
getFields | getFields() | String[] getFields() |
getFieldValue | getFieldValue(fieldName) | Object getFieldValue(String fieldName) |
getFieldValues | getFieldValues(fieldNames) | Object[] getFieldValues(String[] fieldNames) |
isValid | isValid() | boolean isValid() |
removeField | removeField(fieldName) | void removeField(String fieldName) |
setFields | setFields(fieldNames,fieldValues) | void setFields(String[] fieldNames, Object[] fieldValues) |
toXMLString | toXMLString() | String toXMLString() |
The methods and fields of Object are inherited.
InvalidTargetObjectTypeException#
class · extends Exception · javax.management.modelmbean.InvalidTargetObjectTypeException
Constructors
new InvalidTargetObjectTypeException() |
new InvalidTargetObjectTypeException(String s) |
new InvalidTargetObjectTypeException(Exception e, String s) |
Ring: new InvalidTargetObjectTypeException(args) uses the constructor with the fewest parameters (at least one); new InvalidTargetObjectTypeException makes the object with the constructor without parameters; the others: (new InvalidTargetObjectTypeException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Exception are inherited.
ModelMBean#
interface · javax.management.modelmbean.ModelMBean
Extends: DynamicMBean, PersistentMBean, ModelMBeanNotificationBroadcaster
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@load | @load() | void load() |
addAttributeChangeNotificationListener | addAttributeChangeNotificationListener(listener,attributeName,handback) | void addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback) |
addNotificationListener | addNotificationListener(listener,filter,handback) | void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) |
getAttribute | getAttribute(attribute) | Object getAttribute(String attribute) |
getAttributes | getAttributes(attributes) | AttributeList getAttributes(String[] attributes) |
getMBeanInfo | getMBeanInfo() | MBeanInfo getMBeanInfo() |
getNotificationInfo | getNotificationInfo() | MBeanNotificationInfo[] getNotificationInfo() |
invoke | invoke(actionName,params,signature) | Object invoke(String actionName, Object[] params, String[] signature) |
removeAttributeChangeNotificationListener | removeAttributeChangeNotificationListener(listener,attributeName) | void removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName) |
removeNotificationListener | removeNotificationListener(listener) | void removeNotificationListener(NotificationListener listener) |
sendAttributeChangeNotification | sendAttributeChangeNotification(notification)sendAttributeChangeNotification([oldValue,newValue])sendAttributeChangeNotification([ :oldValue = v, :newValue = v ]) | void sendAttributeChangeNotification(AttributeChangeNotification notification)void sendAttributeChangeNotification(Attribute oldValue, Attribute newValue) |
sendNotification | sendNotification(ntfyObj) | void sendNotification(Notification ntfyObj)void sendNotification(String ntfyText) |
setAttribute | setAttribute(attribute) | void setAttribute(Attribute attribute) |
setAttributes | setAttributes(attributes) | AttributeList setAttributes(AttributeList attributes) |
setManagedResource | setManagedResource(mr,mr_type) | void setManagedResource(Object mr, String mr_type) |
setModelMBeanInfo | setModelMBeanInfo(inModelMBeanInfo) | void setModelMBeanInfo(ModelMBeanInfo inModelMBeanInfo) |
store | store() | void store() |
ModelMBeanAttributeInfo#
class · extends MBeanAttributeInfo · javax.management.modelmbean.ModelMBeanAttributeInfo
Implements: DescriptorAccess
Constructors
new ModelMBeanAttributeInfo(ModelMBeanAttributeInfo inInfo) |
new ModelMBeanAttributeInfo(String name, String description, Method getter, Method setter) |
new ModelMBeanAttributeInfo(String name, String description, Method getter, Method setter, Descriptor descriptor) |
new ModelMBeanAttributeInfo(String name, String type, String description, boolean isReadable, boolean isWritable, boolean isIs) |
new ModelMBeanAttributeInfo(String name, String type, String description, boolean isReadable, boolean isWritable, boolean isIs, Descriptor descriptor) |
Ring: new ModelMBeanAttributeInfo(args) uses the constructor with the fewest parameters (at least one); new ModelMBeanAttributeInfo makes the object with the constructor without parameters; the others: (new ModelMBeanAttributeInfo).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
setDescriptor | setDescriptor(inDescriptor) | void setDescriptor(Descriptor inDescriptor) |
The methods and fields of MBeanAttributeInfo are inherited.
ModelMBeanConstructorInfo#
class · extends MBeanConstructorInfo · javax.management.modelmbean.ModelMBeanConstructorInfo
Implements: DescriptorAccess
Constructors
new ModelMBeanConstructorInfo(String description, Constructor constructorMethod) |
new ModelMBeanConstructorInfo(String name, String description, MBeanParameterInfo[] signature) |
new ModelMBeanConstructorInfo(String description, Constructor constructorMethod, Descriptor descriptor) |
new ModelMBeanConstructorInfo(String name, String description, MBeanParameterInfo[] signature, Descriptor descriptor) |
Ring: new ModelMBeanConstructorInfo(args) uses the constructor with the fewest parameters (at least one); new ModelMBeanConstructorInfo makes the object with the constructor without parameters; the others: (new ModelMBeanConstructorInfo).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
setDescriptor | setDescriptor(inDescriptor) | void setDescriptor(Descriptor inDescriptor) |
The methods and fields of MBeanConstructorInfo are inherited.
ModelMBeanInfo#
interface · javax.management.modelmbean.ModelMBeanInfo
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
getAttribute | getAttribute(inName) | ModelMBeanAttributeInfo getAttribute(String inName) |
getAttributes | getAttributes() | MBeanAttributeInfo[] getAttributes() |
getClassName | getClassName() | String getClassName() |
getConstructors | getConstructors() | MBeanConstructorInfo[] getConstructors() |
getDescription | getDescription() | String getDescription() |
getDescriptor | getDescriptor(inDescriptorName,inDescriptorType) | Descriptor getDescriptor(String inDescriptorName, String inDescriptorType) |
getDescriptors | getDescriptors(inDescriptorType) | Descriptor[] getDescriptors(String inDescriptorType) |
getMBeanDescriptor | getMBeanDescriptor() | Descriptor getMBeanDescriptor() |
getNotification | getNotification(inName) | ModelMBeanNotificationInfo getNotification(String inName) |
getNotifications | getNotifications() | MBeanNotificationInfo[] getNotifications() |
getOperation | getOperation(inName) | ModelMBeanOperationInfo getOperation(String inName) |
getOperations | getOperations() | MBeanOperationInfo[] getOperations() |
setDescriptor | setDescriptor(inDescriptor,inDescriptorType) | void setDescriptor(Descriptor inDescriptor, String inDescriptorType) |
setDescriptors | setDescriptors(inDescriptors) | void setDescriptors(Descriptor[] inDescriptors) |
setMBeanDescriptor | setMBeanDescriptor(inDescriptor) | void setMBeanDescriptor(Descriptor inDescriptor) |
ModelMBeanInfoSupport#
class · extends MBeanInfo · javax.management.modelmbean.ModelMBeanInfoSupport
Implements: ModelMBeanInfo
Constructors
new ModelMBeanInfoSupport(ModelMBeanInfo mbi) |
new ModelMBeanInfoSupport(String className, String description, ModelMBeanAttributeInfo[] attributes, ModelMBeanConstructorInfo[] constructors, ModelMBeanOperationInfo[] operations, ModelMBeanNotificationInfo[] notifications) |
new ModelMBeanInfoSupport(String className, String description, ModelMBeanAttributeInfo[] attributes, ModelMBeanConstructorInfo[] constructors, ModelMBeanOperationInfo[] operations, ModelMBeanNotificationInfo[] notifications, Descriptor mbeandescriptor) |
Ring: new ModelMBeanInfoSupport(args) uses the constructor with the fewest parameters (at least one); new ModelMBeanInfoSupport makes the object with the constructor without parameters; the others: (new ModelMBeanInfoSupport).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getDescriptor | @getDescriptor(inDescriptorName)@getDescriptor([inDescriptorName,inDescriptorType])@getDescriptor([ :inDescriptorName = v, :inDescriptorType = v ]) | Descriptor getDescriptor(String inDescriptorName)Descriptor getDescriptor(String inDescriptorName, String inDescriptorType) |
getAttribute | getAttribute(inName) | ModelMBeanAttributeInfo getAttribute(String inName) |
getConstructor | getConstructor(inName) | ModelMBeanConstructorInfo getConstructor(String inName) |
getDescriptors | getDescriptors(inDescriptorType) | Descriptor[] getDescriptors(String inDescriptorType) |
getMBeanDescriptor | getMBeanDescriptor() | Descriptor getMBeanDescriptor() |
getNotification | getNotification(inName) | ModelMBeanNotificationInfo getNotification(String inName) |
getOperation | getOperation(inName) | ModelMBeanOperationInfo getOperation(String inName) |
setDescriptor | setDescriptor(inDescriptor,inDescriptorType) | void setDescriptor(Descriptor inDescriptor, String inDescriptorType) |
setDescriptors | setDescriptors(inDescriptors) | void setDescriptors(Descriptor[] inDescriptors) |
setMBeanDescriptor | setMBeanDescriptor(inMBeanDescriptor) | void setMBeanDescriptor(Descriptor inMBeanDescriptor) |
The methods and fields of MBeanInfo are inherited.
ModelMBeanNotificationBroadcaster#
interface · javax.management.modelmbean.ModelMBeanNotificationBroadcaster
Extends: NotificationBroadcaster
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addAttributeChangeNotificationListener | addAttributeChangeNotificationListener(listener,attributeName,handback) | void addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback) |
addNotificationListener | addNotificationListener(listener,filter,handback) | void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) |
getNotificationInfo | getNotificationInfo() | MBeanNotificationInfo[] getNotificationInfo() |
removeAttributeChangeNotificationListener | removeAttributeChangeNotificationListener(listener,attributeName) | void removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName) |
removeNotificationListener | removeNotificationListener(listener) | void removeNotificationListener(NotificationListener listener) |
sendAttributeChangeNotification | sendAttributeChangeNotification(notification)sendAttributeChangeNotification([oldValue,newValue])sendAttributeChangeNotification([ :oldValue = v, :newValue = v ]) | void sendAttributeChangeNotification(AttributeChangeNotification notification)void sendAttributeChangeNotification(Attribute oldValue, Attribute newValue) |
sendNotification | sendNotification(ntfyObj) | void sendNotification(Notification ntfyObj)void sendNotification(String ntfyText) |
ModelMBeanNotificationInfo#
class · extends MBeanNotificationInfo · javax.management.modelmbean.ModelMBeanNotificationInfo
Implements: DescriptorAccess
Constructors
new ModelMBeanNotificationInfo(ModelMBeanNotificationInfo inInfo) |
new ModelMBeanNotificationInfo(String[] notifTypes, String name, String description) |
new ModelMBeanNotificationInfo(String[] notifTypes, String name, String description, Descriptor descriptor) |
Ring: new ModelMBeanNotificationInfo(args) uses the constructor with the fewest parameters (at least one); new ModelMBeanNotificationInfo makes the object with the constructor without parameters; the others: (new ModelMBeanNotificationInfo).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
setDescriptor | setDescriptor(inDescriptor) | void setDescriptor(Descriptor inDescriptor) |
The methods and fields of MBeanNotificationInfo are inherited.
ModelMBeanOperationInfo#
class · extends MBeanOperationInfo · javax.management.modelmbean.ModelMBeanOperationInfo
Implements: DescriptorAccess
Constructors
new ModelMBeanOperationInfo(ModelMBeanOperationInfo inInfo) |
new ModelMBeanOperationInfo(String description, Method operationMethod) |
new ModelMBeanOperationInfo(String description, Method operationMethod, Descriptor descriptor) |
new ModelMBeanOperationInfo(String name, String description, MBeanParameterInfo[] signature, String type, int impact) |
new ModelMBeanOperationInfo(String name, String description, MBeanParameterInfo[] signature, String type, int impact, Descriptor descriptor) |
Ring: new ModelMBeanOperationInfo(args) uses the constructor with the fewest parameters (at least one); new ModelMBeanOperationInfo makes the object with the constructor without parameters; the others: (new ModelMBeanOperationInfo).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
setDescriptor | setDescriptor(inDescriptor) | void setDescriptor(Descriptor inDescriptor) |
The methods and fields of MBeanOperationInfo are inherited.
RequiredModelMBean#
class · extends Object · javax.management.modelmbean.RequiredModelMBean
Implements: ModelMBean, MBeanRegistration, NotificationEmitter
Constructors
new RequiredModelMBean() |
new RequiredModelMBean(ModelMBeanInfo mbi) |
Ring: new RequiredModelMBean(args) uses the constructor with the fewest parameters (at least one); new RequiredModelMBean makes the object with the constructor without parameters; the others: (new RequiredModelMBean).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@load | @load() | void load() |
addAttributeChangeNotificationListener | addAttributeChangeNotificationListener(inlistener,inAttributeName,inhandback) | void addAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName, Object inhandback) |
addNotificationListener | addNotificationListener(listener,filter,handback) | void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) |
getAttribute | getAttribute(attrName) | Object getAttribute(String attrName) |
getAttributes | getAttributes(attrNames) | AttributeList getAttributes(String[] attrNames) |
getMBeanInfo | getMBeanInfo() | MBeanInfo getMBeanInfo() |
getNotificationInfo | getNotificationInfo() | MBeanNotificationInfo[] getNotificationInfo() |
invoke | invoke(opName,opArgs,sig) | Object invoke(String opName, Object[] opArgs, String[] sig) |
postDeregister | postDeregister() | void postDeregister() |
postRegister | postRegister(registrationDone) | void postRegister(Boolean registrationDone) |
preDeregister | preDeregister() | void preDeregister() |
preRegister | preRegister(server,name) | ObjectName preRegister(MBeanServer server, ObjectName name) |
removeAttributeChangeNotificationListener | removeAttributeChangeNotificationListener(inlistener,inAttributeName) | void removeAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName) |
removeNotificationListener | removeNotificationListener(listener)removeNotificationListener([listener,filter,handback])removeNotificationListener([ :listener = v, :filter = v, :handback = v ]) | void removeNotificationListener(NotificationListener listener)void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) |
sendAttributeChangeNotification | sendAttributeChangeNotification(ntfyObj)sendAttributeChangeNotification([inOldVal,inNewVal])sendAttributeChangeNotification([ :inOldVal = v, :inNewVal = v ]) | void sendAttributeChangeNotification(AttributeChangeNotification ntfyObj)void sendAttributeChangeNotification(Attribute inOldVal, Attribute inNewVal) |
sendNotification | sendNotification(ntfyObj) | void sendNotification(Notification ntfyObj)void sendNotification(String ntfyText) |
setAttribute | setAttribute(attribute) | void setAttribute(Attribute attribute) |
setAttributes | setAttributes(attributes) | AttributeList setAttributes(AttributeList attributes) |
setManagedResource | setManagedResource(mr,mr_type) | void setManagedResource(Object mr, String mr_type) |
setModelMBeanInfo | setModelMBeanInfo(mbi) | void setModelMBeanInfo(ModelMBeanInfo mbi) |
store | store() | void store() |
The methods and fields of Object are inherited.
XMLParseException#
class · extends Exception · javax.management.modelmbean.XMLParseException
Constructors
new XMLParseException() |
new XMLParseException(String s) |
new XMLParseException(Exception e, String s) |
Ring: new XMLParseException(args) uses the constructor with the fewest parameters (at least one); new XMLParseException makes the object with the constructor without parameters; the others: (new XMLParseException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Exception are inherited.