|Home >> All >> javax >> [ management Javadoc ]|
javax.management: Javadoc index of package javax.management.
javax.management.j2ee.statistics: JSR-77 Specification .
MonitorNotification: A notification from one of the monitor services. The notification occurs only when the state is first entered. All monitor services produce the following notifications. OBSERVED_OBJECT_ERROR 55 when the MBean is not registered. OBSERVED_ATTRIBUTE_ERROR 55 when the MBean's attribute does not exist. OBSERVED_ATTRIBUTE_TYPE_ERROR 55 when the MBean's attribute is not of the correct type for the monitor or the derived gauge value. RUNTIME_ERROR 55 for any other error. The counter monitor produces the following notifications. THRESHOLD_ERROR 55 when one of the monitors threshold vaues is of an incorrect ...
MBeanServerPermission: Controls access to actions performed on MBeanServers. The name specifies the permission applies to an operation. The special value * applies to all operations. createMBeanServer controls access to MBeanServerFactory.createMBeanServer() 55 or MBeanServerFactory.createMBeanServer(java.lang.String) 55 findMBeanServer controls access to MBeanServerFactory.findMBeanServer(java.lang.String) 55 newMBeanServer controls access to MBeanServerFactory.newMBeanServer() 55 or MBeanServerFactory.newMBeanServer(java.lang.String) 55 releaseMBeanServer controls access to MBeanServerFactory.releaseMBeanServer(javax.management.MBeanServer) ...
AttributeChangeNotification: This is the mandated object for sending notifications of attribute changes. The MBean may also send other types of notifications. The MBean must implement the NotificationBroadcaster interface to send this notification. The following information is provided in addition to the that provided by Notification . The attribute's name 55 , type 55 , old value 55 and new value 55 . The notification type is "jmx.attribute.change", defined in the static string ATTRIBUTE_CHANGE 55 .
DynamicMBean: The DynamicMBean interface is implemented by resources that expose their definition at runtime. The implementation exposes its attributes, methods and notifications through the getMBeanInfo 55 method. From a management point of view, the DynamicMBean behaves like any other MBean. It is the responsibility of the implementation to ensure the MBean works as self-described. The MBeanServer makes no attempt to validate it. Although the self-description is retrieved at runtime and is therefore dynamic, the implementation must not change it once it has been retrieved. A manager can expect the attributes, ...
Descriptor: This interface defines behavioral and runtime metadata for ModelMBeans. A descriptor is a set of name-value pairs. The DescriptorAccess interface defines how to get and set Descriptors for a ModelMBean's metadata classes. The implementation must implement the following constructors. Descriptor() returns an empty descriptor. Descriptor(Descriptor) returns a copy of the decriptor. Descriptor(String, Object) a constructor that verifies the field names include a descriptorType and that predefined fields contain valid values.
RelationType: This interface is implemented by a class that represents a relation. The class RelationTypeSupport is available to help implement this interface. A relation type has a name and a list of role info objects for the relation. A relation type has to registered in the relation service. This is done either by using createRelationType() to get a RelationTypeSupport object kepy in the relation service, or by using addRelationType() to add an external relation type to the relation service.
Relation: This interface is implemented by an MBean that represents a relation. Relations with only roles can be created by the relation service using a RelationSupport object. More complicated relations have to implemented manually. The RelationSupport can be used to help in the implementation. Any properties or methods must be exposed for management by the implementing MBean.
OpenMBeanInfo: An MBean is an OpenMBean when its getMBeanInfo() returns an MBeanInfo implementing this interface and extending javax.management.MBeanInfo. OpenMBeanInfoSupport is an example of such a class. The MBean info classes should be the OpenInfo versions. e.g. an OpenMBeanAttributeInfo instead of MBeanAttributeInfo.
RelationService: Implements the management interface for a relation service. Revisions: 20020311 Adrian Brock: Fixed setRole for external MBean and exception handling EmptyStack exception in purging Unregistered mbeans should only contain relation mbeans Unregister notifications not working after change to MBean Filter 20020312 Adrian Brock: Fixed wrong exception types thrown and missing exceptions Allow null role list in createRelation
RelationServiceMBean: This interface defines the management interface for a relation service. The relation service performs the following functions: Creating and deleting relation types and relations. Making sure relations are consistent as defined by information in their relation types/roles. Allowing relations to be queried. Revisions: 20020312 Adrian Brock: Fixed wrong exception types thrown Add missing method getRoles(String, String)
MBeanServerNotification: A notification sent by the MBeanServer delegate when an MBean is registered or unregisterd. NOTE: The values from the spec are wrong, the real values are REGISTRATION_NOTIFICATION = "JMX.mbean.registered" UNREGISTRATION_NOTIFICATION = "JMX.mbean.registered" Revisions: 20020315 Adrian Brock: Spec has wrong values for notification values 20020711 Adrian Brock: Serialization
MBeanRegistration: This interface is implemented by an MBean that wants to perform operations pre and post registration and deregistration. The preRegister method is called by the MBeanServer before registration. The postRegister method is called by the MBeanServer after registration. The preDeregister method is called by the MBeanServer before deregistration. The postDeregister method is called by the MBeanServer after deregistration.
NotificationFilterSupport: An implementation of the NotificationFilter interface. It filters on the notification type. It Maintains a list of enabled notification types. By default no notifications are enabled. The enabled types are prefixes. That is a notification is enabled if it starts with an enabled string.
CounterMonitor: The counter monitor service. Revisions: 20020319 Adrian Brock: Reset the threshold when the value becomes negative in difference mode 20020326 Adrian Brock: The spec says the modulus should be *strictly* exceeded. It appears from testing the RI, it is a mathematical definition of modulus. e.g. 10 exceeds a modulus of 10
AttributeList: A list of a MBean attributes. An AttributeList can be used to get and set multiple MBean attributes in one invocation. It is an array list that can only contain Attribute s Note: AttributeLists must be externally synchronized.
RoleValidator: This is a helper class for performing role validation. It is used by both the RelationSupport and RelationService classes. It is package private and NOT part of the specification. Revisions: 20020311 Adrian Brock: ValidateRole always failed Throws wrong exception when not writable
InQueryExp: An In Query Expression. Returns true only when any of the values are match. Returns true only when both expressions are true. Revisions: 20020315 Adrian Brock: Don't put ; on the end of if statements :-) 20020317 Adrian Brock: Make queries thread safe
DefaultLoaderRepository: This class provides static methods for loading classes from the MBean agent's loader repository. The implementation delegates all loadClass() 55 calls to the loader repository initialized for this JVM. The
RelationSupportMBean: This interface defines the management interface for a relation created internally within the relation service. The relation can have only roles - no attributes or mehods. The relation support managed bean can be created externally, including extending it, and then registered with the relation service.
BetweenQueryExp: A Between Query Expression. Returns true only when the test expression is between the lower and upper bounds inclusive. Revisions: 20020314 Adrian Brock: Fix the human readable expression 20020317 Adrian Brock: Make queries thread safe
RelationSupport: Implements the management interface for a relation created internally within the relation service. The relation can have only roles - no attributes or methods. The relation support managed bean can be created externally, including extending it, and then registered with the relation service.
OpenMBeanConstructorInfo: An open MBean constructor info implements this interface as well as extending MBeanConstructorInfo. OpenMBeanConstructorInfoSupport is an example of such a class.
OpenMBeanAttributeInfo: An open MBean attribute info implements this interface as well as extending MBeanAttributeInfo. OpenMBeanAttributeInfoSupport is an example of such a class.
OpenMBeanOperationInfo: An open MBean operation info implements this interface as well as extending MBeanOperationInfo. OpenMBeanOperationInfoSupport is an example of such a class.
OpenMBeanParameterInfo: An open MBean parameter info implements this interface as well as extending MBeanParameterInfo. OpenMBeanParameterInfoSupport is an example of such a class.