javax.management.j2ee

Interface Management

All Superinterfaces:
EJBObject

public interface Management
extends EJBObject

Method Summary

Object
getAttribute(ObjectName name, String attribute)
AttributeList
getAttributes(ObjectName name, String[] attributes)
String
getDefaultDomain()
ListenerRegistration
getListenerRegistry()
Integer
getMBeanCount()
MBeanInfo
getMBeanInfo(ObjectName name)
Object
invoke(ObjectName name, String operationName, Object[] params, String[] signature)
boolean
isRegistered(ObjectName name)
Set
queryNames(ObjectName name, QueryExp query)
void
setAttribute(ObjectName name, Attribute attribute)
AttributeList
setAttributes(ObjectName name, AttributeList attributes)

Method Details

getAttribute

public Object getAttribute(ObjectName name,
                           String attribute)
            throws MBeanException,
                   AttributeNotFoundException,
                   InstanceNotFoundException,
                   ReflectionException,
                   RemoteException

getAttributes

public AttributeList getAttributes(ObjectName name,
                                   String[] attributes)
            throws InstanceNotFoundException,
                   ReflectionException,
                   RemoteException

getDefaultDomain

public String getDefaultDomain()
            throws RemoteException

getListenerRegistry

public ListenerRegistration getListenerRegistry()
            throws RemoteException

getMBeanCount

public Integer getMBeanCount()
            throws RemoteException

getMBeanInfo

public MBeanInfo getMBeanInfo(ObjectName name)
            throws IntrospectionException,
                   InstanceNotFoundException,
                   ReflectionException,
                   RemoteException

invoke

public Object invoke(ObjectName name,
                     String operationName,
                     Object[] params,
                     String[] signature)
            throws InstanceNotFoundException,
                   MBeanException,
                   ReflectionException,
                   RemoteException

isRegistered

public boolean isRegistered(ObjectName name)
            throws RemoteException

queryNames

public Set queryNames(ObjectName name,
                      QueryExp query)
            throws RemoteException

setAttribute

public void setAttribute(ObjectName name,
                         Attribute attribute)
            throws InstanceNotFoundException,
                   AttributeNotFoundException,
                   InvalidAttributeValueException,
                   MBeanException,
                   ReflectionException,
                   RemoteException

setAttributes

public AttributeList setAttributes(ObjectName name,
                                   AttributeList attributes)
            throws InstanceNotFoundException,
                   ReflectionException,
                   RemoteException