| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: The value of the retrieved attribute.The object name of the managed object from which the attribute is to be retrieved. name, String A String specifying the name of the attribute to be
retrieved. attribute)Gets the value of a specific attribute of a named managed object. |
| public AttributeList | Returns: The list of the retrieved attributes.The object name of the managed object from which the attributes are
retrieved. name, String[] A list of the attributes to be retrieved. attributes)Enables the values of several attributes of a named managed object. |
| public String | |
| public ListenerRegistration | Returns: An implementation ofjavax.management.j2ee.ListenerRegistrationReturns the listener registry implementation for this MEJB. |
| public Integer | |
| public MBeanInfo | Returns: An instance ofMBeanInfo allowing the retrieval of all attributes and operations
of this managed object.The name of the managed object to analyze name)This method discovers the attributes and operations that a managed object exposes for management. |
| public Object | Returns: The object returned by the operation, which represents the result of invoking the operation on the managed object specified.The object name of the managed object on which the method is to be invoked. name, String The name of the operation to be invoked. operationName, Object[] An array containing the parameters to be set when the operation is
invoked params, String[] An array containing the signature of the operation. The class objects will
be loaded using the same class loader as the one used for loading the managed object on which the operation was invoked. signature)Invokes an operation on a managed object. |
| public boolean | Returns: True if the managed object is already registered in the MEJB, false otherwise.The object name of the managed object to be checked. name)Checks whether a managed object, identified by its object name, is already registered with the MEJB. |
| public Set | Returns: A set containing the ObjectNames for the managed objects selected. If no managed object satisfies the query, an empty set is returned.The object name pattern identifying the managed objects to be retrieved. If
null or no domain and key properties are specified, all the managed objects registered will be retrieved. name, QueryExp query)Gets the names of managed objects controlled by the MEJB. |
| public void | setAttribute(ObjectName
The name of the managed object within which the attribute is to be set. name, Attribute The identification of the attribute to be set and the value it is to be set to. attribute)Sets the value of a specific attribute of a named managed object. |
| public AttributeList | Returns: The list of attributes that were set, with their new values.The object name of the managed object within which the attributes are to
be set. name, AttributeList A list of attributes: The identification of the
attributes to be set and the values they are to be set to. attributes)Sets the values of several attributes of a named managed object. |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(ObjectName name, String attribute) throws MBeanException, AttributeNotFoundException, InstanceNotFoundException, ReflectionException, RemoteException Gets the value of a specific attribute of a named managed object. The managed object is identified by its object name.
| |
| getAttributes | back to summary |
|---|---|
| public AttributeList getAttributes(ObjectName name, String[] attributes) throws InstanceNotFoundException, ReflectionException, RemoteException Enables the values of several attributes of a named managed object. The managed object is identified by its object name.
| |
| getDefaultDomain | back to summary |
|---|---|
| public String getDefaultDomain() throws RemoteException Returns the default domain name of this MEJB.
| |
| getListenerRegistry | back to summary |
|---|---|
| public ListenerRegistration getListenerRegistry() throws RemoteException Returns the listener registry implementation for this MEJB. The listener registry implements the methods that enable clints to add and remove event notification listeners managed objects
| |
| getMBeanCount | back to summary |
|---|---|
| public Integer getMBeanCount() throws RemoteException Returns the number of managed objects registered in the MEJB.
| |
| getMBeanInfo | back to summary |
|---|---|
| public MBeanInfo getMBeanInfo(ObjectName name) throws IntrospectionException, InstanceNotFoundException, ReflectionException, RemoteException This method discovers the attributes and operations that a managed object exposes for management.
| |
| invoke | back to summary |
|---|---|
| public Object invoke(ObjectName name, String operationName, Object[] params, String[] signature) throws InstanceNotFoundException, MBeanException, ReflectionException, RemoteException Invokes an operation on a managed object.
| |
| isRegistered | back to summary |
|---|---|
| public boolean isRegistered(ObjectName name) throws RemoteException Checks whether a managed object, identified by its object name, is already registered with the MEJB.
| |
| queryNames | back to summary |
|---|---|
| public Set 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
| |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(ObjectName name, Attribute attribute) throws InstanceNotFoundException, AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException, RemoteException Sets the value of a specific attribute of a named managed object. The managed object is identified by its object name.
| |
| setAttributes | back to summary |
|---|---|
| public AttributeList setAttributes(ObjectName name, AttributeList attributes) throws InstanceNotFoundException, ReflectionException, RemoteException Sets the values of several attributes of a named managed object. The managed object is identified by its object name.
| |