Methods Summary |
---|
public java.lang.Object | getAttribute(javax.management.ObjectName name, java.lang.String attribute)Gets the value of a specific attribute of a named managed object. The managed object
is identified by its object name.
|
public javax.management.AttributeList | getAttributes(javax.management.ObjectName name, java.lang.String[] attributes)Enables the values of several attributes of a named managed object. The managed object
is identified by its object name.
|
public java.lang.String | getDefaultDomain()Returns the domain name of this MEJB.
|
public java.lang.Integer | getMBeanCount()Returns the number of managed objects registered in the MEJB.
|
public javax.management.MBeanInfo | getMBeanInfo(javax.management.ObjectName name)This method discovers the attributes and operations that an managed object exposes
for management.
|
public java.lang.Object | invoke(javax.management.ObjectName name, java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature)Invokes an operation on an managed object.
|
public boolean | isRegistered(javax.management.ObjectName name)Checks whether an managed object, identified by its object name, is already registered
with the MEJB.
|
public java.util.Set | queryNames(javax.management.ObjectName name, javax.management.QueryExp query)Gets the names of managed objects controlled by the MEJB. This method
enables any of the following to be obtained: The names of all managed objects,
the names of a set of managed objects specified by pattern matching on the
ObjectName , a specific managed object name (equivalent to
testing whether an managed object is registered). When the object name is
null or no domain and key properties are specified, all objects are selected.
It returns the set of J2EEObjectNames for the managed objects selected.
|
public void | setAttribute(javax.management.ObjectName name, javax.management.Attribute attribute)Sets the value of a specific attribute of a named managed object. The managed object
is identified by its object name.
|
public javax.management.AttributeList | setAttributes(javax.management.ObjectName name, javax.management.AttributeList attributes)Sets the values of several attributes of a named managed object. The managed object is
identified by its object name.
|
public void | unregisterMBean(javax.management.ObjectName name)De-registers an MBean from the MBean server. The MBean is identified by
its object name. Once the method has been invoked, the MBean may no longer be accessed by its object name.
|