Package | Description |
---|---|
javax.management |
Provides the core classes for the Java Management Extensions.
|
javax.management.modelmbean |
Provides the definition of the ModelMBean classes.
|
javax.management.remote.rmi |
The RMI connector is a connector for the JMX Remote API that
uses RMI to transmit client requests to a remote MBean server.
|
Modifier and Type | Class and Description |
---|---|
class |
MBeanRegistrationException
Wraps exceptions thrown by the preRegister(), preDeregister() methods
of the
MBeanRegistration interface. |
Modifier and Type | Method and Description |
---|---|
ObjectInstance |
MBeanServerConnection.createMBean(String className,
ObjectName name)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServer.createMBean(String className,
ObjectName name)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServerConnection.createMBean(String className,
ObjectName name,
Object[] params,
String[] signature)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServer.createMBean(String className,
ObjectName name,
Object[] params,
String[] signature)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServerConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServer.createMBean(String className,
ObjectName name,
ObjectName loaderName)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServerConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Object[] params,
String[] signature)
Instantiates and registers an MBean in the MBean server.
|
ObjectInstance |
MBeanServer.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Object[] params,
String[] signature)
Instantiates and registers an MBean in the MBean server.
|
Object |
MBeanServerConnection.getAttribute(ObjectName name,
String attribute)
Gets the value of a specific attribute of a named MBean.
|
Object |
MBeanServer.getAttribute(ObjectName name,
String attribute) |
Object |
DynamicMBean.getAttribute(String attribute)
Obtain the value of a specific attribute of the Dynamic MBean.
|
Object |
StandardMBean.getAttribute(String attribute) |
Object |
MBeanServer.instantiate(String className)
Instantiates an object using the list of all class loaders
registered in the MBean server's
Class Loader
Repository . |
Object |
MBeanServer.instantiate(String className,
Object[] params,
String[] signature)
Instantiates an object using the list of all class loaders
registered in the MBean server
Class Loader
Repository . |
Object |
MBeanServer.instantiate(String className,
ObjectName loaderName)
Instantiates an object using the class Loader specified by its
ObjectName . |
Object |
MBeanServer.instantiate(String className,
ObjectName loaderName,
Object[] params,
String[] signature)
Instantiates an object.
|
Object |
MBeanServerConnection.invoke(ObjectName name,
String operationName,
Object[] params,
String[] signature)
Invokes an operation on an MBean.
|
Object |
MBeanServer.invoke(ObjectName name,
String operationName,
Object[] params,
String[] signature) |
Object |
DynamicMBean.invoke(String actionName,
Object[] params,
String[] signature)
Allows an action to be invoked on the Dynamic MBean.
|
Object |
StandardMBean.invoke(String actionName,
Object[] params,
String[] signature) |
void |
PersistentMBean.load()
Instantiates thisMBean instance with the data found for
the MBean in the persistent store.
|
void |
DynamicMBean.setAttribute(Attribute attribute)
Set the value of a specific attribute of the Dynamic MBean.
|
void |
StandardMBean.setAttribute(Attribute attribute) |
void |
MBeanServerConnection.setAttribute(ObjectName name,
Attribute attribute)
Sets the value of a specific attribute of a named MBean.
|
void |
MBeanServer.setAttribute(ObjectName name,
Attribute attribute) |
void |
PersistentMBean.store()
Captures the current state of this MBean instance and
writes it out to the persistent store.
|
Modifier and Type | Method and Description |
---|---|
void |
RequiredModelMBean.addAttributeChangeNotificationListener(NotificationListener inlistener,
String inAttributeName,
Object inhandback) |
void |
ModelMBeanNotificationBroadcaster.addAttributeChangeNotificationListener(NotificationListener listener,
String attributeName,
Object handback)
Registers an object which implements the NotificationListener interface as a listener.
|
Object |
RequiredModelMBean.getAttribute(String attrName)
Returns the value of a specific attribute defined for this
ModelMBean.
|
ModelMBeanAttributeInfo |
ModelMBeanInfo.getAttribute(String inName)
Returns a ModelMBeanAttributeInfo requested by name.
|
ModelMBeanAttributeInfo |
ModelMBeanInfoSupport.getAttribute(String inName) |
ModelMBeanConstructorInfo |
ModelMBeanInfoSupport.getConstructor(String inName)
Returns the ModelMBeanConstructorInfo requested by name.
|
Descriptor |
ModelMBeanInfoSupport.getDescriptor(String inDescriptorName)
Returns a Descriptor requested by name.
|
Descriptor |
ModelMBeanInfo.getDescriptor(String inDescriptorName,
String inDescriptorType)
Returns a Descriptor requested by name and descriptorType.
|
Descriptor |
ModelMBeanInfoSupport.getDescriptor(String inDescriptorName,
String inDescriptorType) |
Descriptor[] |
ModelMBeanInfo.getDescriptors(String inDescriptorType)
Returns a Descriptor array consisting of all
Descriptors for the ModelMBeanInfo of type inDescriptorType.
|
Descriptor[] |
ModelMBeanInfoSupport.getDescriptors(String inDescriptorType) |
Descriptor |
ModelMBeanInfo.getMBeanDescriptor()
Returns the ModelMBean's descriptor which contains MBean wide
policies.
|
Descriptor |
ModelMBeanInfoSupport.getMBeanDescriptor() |
ModelMBeanNotificationInfo |
ModelMBeanInfo.getNotification(String inName)
Returns a ModelMBeanNotificationInfo requested by name.
|
ModelMBeanNotificationInfo |
ModelMBeanInfoSupport.getNotification(String inName) |
ModelMBeanOperationInfo |
ModelMBeanInfo.getOperation(String inName)
Returns a ModelMBeanOperationInfo requested by name.
|
ModelMBeanOperationInfo |
ModelMBeanInfoSupport.getOperation(String inName) |
Object |
RequiredModelMBean.invoke(String opName,
Object[] opArgs,
String[] sig)
Invokes a method on or through a RequiredModelMBean and returns
the result of the method execution.
|
void |
RequiredModelMBean.load()
Instantiates this MBean instance with the data found for
the MBean in the persistent store.
|
void |
RequiredModelMBean.removeAttributeChangeNotificationListener(NotificationListener inlistener,
String inAttributeName) |
void |
ModelMBeanNotificationBroadcaster.removeAttributeChangeNotificationListener(NotificationListener listener,
String attributeName)
Removes a listener for attributeChangeNotifications from the RequiredModelMBean.
|
void |
RequiredModelMBean.sendAttributeChangeNotification(Attribute inOldVal,
Attribute inNewVal) |
void |
ModelMBeanNotificationBroadcaster.sendAttributeChangeNotification(Attribute oldValue,
Attribute newValue)
Sends an attributeChangeNotification which contains the old value and new value for the
attribute to the registered AttributeChangeNotification listeners on the ModelMBean.
|
void |
RequiredModelMBean.sendAttributeChangeNotification(AttributeChangeNotification ntfyObj) |
void |
ModelMBeanNotificationBroadcaster.sendAttributeChangeNotification(AttributeChangeNotification notification)
Sends an attributeChangeNotification which is passed in to
the registered attributeChangeNotification listeners on the
ModelMBean.
|
void |
RequiredModelMBean.sendNotification(Notification ntfyObj) |
void |
ModelMBeanNotificationBroadcaster.sendNotification(Notification ntfyObj)
Sends a Notification which is passed in to the registered
Notification listeners on the ModelMBean as a
jmx.modelmbean.generic notification.
|
void |
RequiredModelMBean.sendNotification(String ntfyText) |
void |
ModelMBeanNotificationBroadcaster.sendNotification(String ntfyText)
Sends a Notification which contains the text string that is passed in
to the registered Notification listeners on the ModelMBean.
|
void |
RequiredModelMBean.setAttribute(Attribute attribute)
Sets the value of a specific attribute of a named ModelMBean.
|
void |
ModelMBeanInfo.setDescriptor(Descriptor inDescriptor,
String inDescriptorType)
Sets descriptors in the info array of type inDescriptorType
for the ModelMBean.
|
void |
ModelMBeanInfoSupport.setDescriptor(Descriptor inDescriptor,
String inDescriptorType) |
void |
ModelMBeanInfo.setDescriptors(Descriptor[] inDescriptors)
Adds or replaces descriptors in the ModelMBeanInfo.
|
void |
ModelMBeanInfoSupport.setDescriptors(Descriptor[] inDescriptors) |
void |
RequiredModelMBean.setManagedResource(Object mr,
String mr_type)
Sets the instance handle of the object against which to
execute all methods in this ModelMBean management interface
(MBeanInfo and Descriptors).
|
void |
ModelMBean.setManagedResource(Object mr,
String mr_type)
Sets the instance handle of the object against which to
execute all methods in this ModelMBean management interface
(MBeanInfo and Descriptors).
|
void |
ModelMBeanInfo.setMBeanDescriptor(Descriptor inDescriptor)
Sets the ModelMBean's descriptor.
|
void |
ModelMBeanInfoSupport.setMBeanDescriptor(Descriptor inMBeanDescriptor) |
void |
RequiredModelMBean.setModelMBeanInfo(ModelMBeanInfo mbi)
Initializes a ModelMBean object using ModelMBeanInfo passed in.
|
void |
ModelMBean.setModelMBeanInfo(ModelMBeanInfo inModelMBeanInfo)
Initializes a ModelMBean object using ModelMBeanInfo passed in.
|
void |
RequiredModelMBean.store()
Captures the current state of this MBean instance and writes
it out to the persistent store.
|
Constructor and Description |
---|
DescriptorSupport(int initNumFields)
Descriptor constructor.
|
DescriptorSupport(String inStr)
Descriptor constructor taking an XML String.
|
RequiredModelMBean()
Constructs an
RequiredModelMBean with an empty
ModelMBeanInfo. |
RequiredModelMBean(ModelMBeanInfo mbi)
Constructs a RequiredModelMBean object using ModelMBeanInfo passed in.
|
Modifier and Type | Method and Description |
---|---|
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
MarshalledObject $param_MarshalledObject_3,
String[] $param_arrayOf_String_4,
Subject $param_Subject_5) |
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
Handles the method
MBeanServerConnection.createMBean(String,
ObjectName, Object[], String[]) . |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
ObjectName $param_ObjectName_3,
MarshalledObject $param_MarshalledObject_4,
String[] $param_arrayOf_String_5,
Subject $param_Subject_6) |
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
|
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
ObjectName loaderName,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
ObjectName $param_ObjectName_3,
Subject $param_Subject_4) |
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Subject delegationSubject)
Handles the method
MBeanServerConnection.createMBean(String,
ObjectName, ObjectName) . |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
ObjectName loaderName,
Subject delegationSubject) |
ObjectInstance |
RMIConnectionImpl_Stub.createMBean(String $param_String_1,
ObjectName $param_ObjectName_2,
Subject $param_Subject_3) |
ObjectInstance |
RMIConnection.createMBean(String className,
ObjectName name,
Subject delegationSubject)
Handles the method
MBeanServerConnection.createMBean(String,
ObjectName) . |
ObjectInstance |
RMIConnectionImpl.createMBean(String className,
ObjectName name,
Subject delegationSubject) |
Object |
RMIConnectionImpl_Stub.getAttribute(ObjectName $param_ObjectName_1,
String $param_String_2,
Subject $param_Subject_3) |
Object |
RMIConnection.getAttribute(ObjectName name,
String attribute,
Subject delegationSubject)
Handles the method
MBeanServerConnection.getAttribute(ObjectName,
String) . |
Object |
RMIConnectionImpl.getAttribute(ObjectName name,
String attribute,
Subject delegationSubject) |
Object |
RMIConnectionImpl_Stub.invoke(ObjectName $param_ObjectName_1,
String $param_String_2,
MarshalledObject $param_MarshalledObject_3,
String[] $param_arrayOf_String_4,
Subject $param_Subject_5) |
Object |
RMIConnection.invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject)
Handles the method
MBeanServerConnection.invoke(ObjectName,
String, Object[], String[]) . |
Object |
RMIConnectionImpl.invoke(ObjectName name,
String operationName,
MarshalledObject params,
String[] signature,
Subject delegationSubject) |
void |
RMIConnectionImpl_Stub.setAttribute(ObjectName $param_ObjectName_1,
MarshalledObject $param_MarshalledObject_2,
Subject $param_Subject_3) |
void |
RMIConnection.setAttribute(ObjectName name,
MarshalledObject attribute,
Subject delegationSubject)
Handles the method
MBeanServerConnection.setAttribute(ObjectName,
Attribute) . |
void |
RMIConnectionImpl.setAttribute(ObjectName name,
MarshalledObject attribute,
Subject delegationSubject) |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.