javax.management.j2ee
Interface Management

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface Management
extends javax.ejb.EJBObject

The Management interface provides the APIs to navigate and manipulate managed objects.

The Management EJB component must implement this interface as its remote interface.

Version:
$Revision: 1.1 $
Author:
Laurent Etiemble

Method Summary
 java.lang.Object getAttribute(javax.management.ObjectName objectname, java.lang.String s)
          Gets the value of a specific attribute of a named managed object.
 javax.management.AttributeList getAttributes(javax.management.ObjectName objectname, java.lang.String[] as)
          Gets the attributes attribute of the Management object
 java.lang.String getDefaultDomain()
          Gets the defaultDomain attribute of the Management object
 ListenerRegistration getListenerRegistry()
          Gets the listenerRegistry attribute of the Management object
 java.lang.Integer getMBeanCount()
          Gets the mBeanCount attribute of the Management object
 javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName objectname)
          Gets the mBeanInfo attribute of the Management object
 java.lang.Object invoke(javax.management.ObjectName objectname, java.lang.String s, java.lang.Object[] aobj, java.lang.String[] as)
          Description of the Method
 boolean isRegistered(javax.management.ObjectName objectname)
          Gets the registered attribute of the Management object
 java.util.Set queryNames(javax.management.ObjectName objectname, javax.management.QueryExp queryexp)
          Description of the Method
 void setAttribute(javax.management.ObjectName objectname, javax.management.Attribute attribute)
          Sets the attribute attribute of the Management object
 javax.management.AttributeList setAttributes(javax.management.ObjectName objectname, javax.management.AttributeList attributelist)
          Sets the attributes attribute of the Management object
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

queryNames

public java.util.Set queryNames(javax.management.ObjectName objectname,
                                javax.management.QueryExp queryexp)
                         throws java.rmi.RemoteException
Description of the Method

Parameters:
objectname - Description of the Parameter
queryexp - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.rmi.RemoteException - Description of the Exception

isRegistered

public boolean isRegistered(javax.management.ObjectName objectname)
                     throws java.rmi.RemoteException
Gets the registered attribute of the Management object

Parameters:
objectname - Description of the Parameter
Returns:
The registered value
Throws:
java.rmi.RemoteException - Description of the Exception

getMBeanCount

public java.lang.Integer getMBeanCount()
                                throws java.rmi.RemoteException
Gets the mBeanCount attribute of the Management object

Returns:
The mBeanCount value
Throws:
java.rmi.RemoteException - Description of the Exception

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName objectname)
                                        throws javax.management.IntrospectionException,
                                               javax.management.InstanceNotFoundException,
                                               javax.management.ReflectionException,
                                               java.rmi.RemoteException
Gets the mBeanInfo attribute of the Management object

Parameters:
objectname - Description of the Parameter
Returns:
The mBeanInfo value
Throws:
javax.management.IntrospectionException - Description of the Exception
javax.management.InstanceNotFoundException - Description of the Exception
javax.management.ReflectionException - Description of the Exception
java.rmi.RemoteException - Description of the Exception

getAttribute

public java.lang.Object getAttribute(javax.management.ObjectName objectname,
                                     java.lang.String s)
                              throws javax.management.MBeanException,
                                     javax.management.AttributeNotFoundException,
                                     javax.management.InstanceNotFoundException,
                                     javax.management.ReflectionException,
                                     java.rmi.RemoteException
Gets the value of a specific attribute of a named managed object. The managed object is identified by its object name.

Parameters:
objectname - Description of the Parameter
s - Description of the Parameter
Returns:
The attribute value
Throws:
javax.management.MBeanException - Description of the Exception
javax.management.AttributeNotFoundException - Description of the Exception
javax.management.InstanceNotFoundException - Description of the Exception
javax.management.ReflectionException - Description of the Exception
java.rmi.RemoteException - Description of the Exception

getAttributes

public javax.management.AttributeList getAttributes(javax.management.ObjectName objectname,
                                                    java.lang.String[] as)
                                             throws javax.management.InstanceNotFoundException,
                                                    javax.management.ReflectionException,
                                                    java.rmi.RemoteException
Gets the attributes attribute of the Management object

Parameters:
objectname - Description of the Parameter
as - Description of the Parameter
Returns:
The attributes value
Throws:
javax.management.InstanceNotFoundException - Description of the Exception
javax.management.ReflectionException - Description of the Exception
java.rmi.RemoteException - Description of the Exception

setAttribute

public void setAttribute(javax.management.ObjectName objectname,
                         javax.management.Attribute attribute)
                  throws javax.management.InstanceNotFoundException,
                         javax.management.AttributeNotFoundException,
                         javax.management.InvalidAttributeValueException,
                         javax.management.MBeanException,
                         javax.management.ReflectionException,
                         java.rmi.RemoteException
Sets the attribute attribute of the Management object

Parameters:
objectname - The new attribute value
attribute - The new attribute value
Throws:
javax.management.InstanceNotFoundException - Description of the Exception
javax.management.AttributeNotFoundException - Description of the Exception
javax.management.InvalidAttributeValueException - Description of the Exception
javax.management.MBeanException - Description of the Exception
javax.management.ReflectionException - Description of the Exception
java.rmi.RemoteException - Description of the Exception

setAttributes

public javax.management.AttributeList setAttributes(javax.management.ObjectName objectname,
                                                    javax.management.AttributeList attributelist)
                                             throws javax.management.InstanceNotFoundException,
                                                    javax.management.ReflectionException,
                                                    java.rmi.RemoteException
Sets the attributes attribute of the Management object

Parameters:
objectname - The new attributes value
attributelist - The new attributes value
Returns:
Description of the Return Value
Throws:
javax.management.InstanceNotFoundException - Description of the Exception
javax.management.ReflectionException - Description of the Exception
java.rmi.RemoteException - Description of the Exception

invoke

public java.lang.Object invoke(javax.management.ObjectName objectname,
                               java.lang.String s,
                               java.lang.Object[] aobj,
                               java.lang.String[] as)
                        throws javax.management.InstanceNotFoundException,
                               javax.management.MBeanException,
                               javax.management.ReflectionException,
                               java.rmi.RemoteException
Description of the Method

Parameters:
objectname - Description of the Parameter
s - Description of the Parameter
aobj - Description of the Parameter
as - Description of the Parameter
Returns:
Description of the Return Value
Throws:
javax.management.InstanceNotFoundException - Description of the Exception
javax.management.MBeanException - Description of the Exception
javax.management.ReflectionException - Description of the Exception
java.rmi.RemoteException - Description of the Exception

getDefaultDomain

public java.lang.String getDefaultDomain()
                                  throws java.rmi.RemoteException
Gets the defaultDomain attribute of the Management object

Returns:
The defaultDomain value
Throws:
java.rmi.RemoteException - Description of the Exception

getListenerRegistry

public ListenerRegistration getListenerRegistry()
                                         throws java.rmi.RemoteException
Gets the listenerRegistry attribute of the Management object

Returns:
The listenerRegistry value
Throws:
java.rmi.RemoteException - Description of the Exception


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.