|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MEJB
Remote interface for MEJB.
Method Summary | |
---|---|
void |
addNotificationListener(javax.management.ObjectName pBroadcaster,
javax.management.ObjectName pListener,
javax.management.NotificationFilter pFilter,
Object pHandback)
|
javax.management.ObjectInstance |
createMBean(String pClass,
javax.management.ObjectName pName,
Object[] pParameters,
String[] pSignature)
|
Object |
getAttribute(javax.management.ObjectName pName,
String pAttribute)
Gets the value of a specific attribute of a named managed object. |
javax.management.AttributeList |
getAttributes(javax.management.ObjectName pName,
String[] pAttributes)
Enables the values of several attributes of a named managed object. |
String |
getDefaultDomain()
Returns the default domain name of this MEJB. |
javax.management.j2ee.ListenerRegistration |
getListenerRegistry()
Returns the listener registry implementation for this MEJB. |
Integer |
getMBeanCount()
Returns the number of managed objects registered in the MEJB. |
javax.management.MBeanInfo |
getMBeanInfo(javax.management.ObjectName pName)
This method discovers the attributes and operations that a managed object exposes for management. |
Object |
invoke(javax.management.ObjectName pName,
String pOperationName,
Object[] pParams,
String[] pSignature)
Invokes an operation on a managed object |
boolean |
isRegistered(javax.management.ObjectName pName)
Checks whether a managed object, identified by its object name, is already registered with the MEJB. |
Set |
queryNames(javax.management.ObjectName pName,
javax.management.QueryExp pQuery)
Gets the names of managed objects controlled by the MEJB. |
void |
removeNotificationListener(javax.management.ObjectName pBroadcaster,
javax.management.ObjectName pListener)
|
void |
setAttribute(javax.management.ObjectName pName,
javax.management.Attribute pAttribute)
Sets the value of a specific attribute of a named managed object. |
javax.management.AttributeList |
setAttributes(javax.management.ObjectName pName,
javax.management.AttributeList pAttributes)
Sets the values of several attributes of a named managed object. |
void |
unregisterMBean(javax.management.ObjectName pName)
|
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
Object getAttribute(javax.management.ObjectName pName, String pAttribute) throws javax.management.MBeanException, javax.management.AttributeNotFoundException, javax.management.InstanceNotFoundException, javax.management.ReflectionException, RemoteException
javax.management.j2ee.Management
getAttribute
in interface javax.management.j2ee.Management
pName
- The object name of the managed object from which the attribute is to be retrieved.pAttribute
- A String specifying the name of the attribute to be retrieved.
javax.management.MBeanException
- - Wraps an exception thrown by the managed object's getter.
javax.management.AttributeNotFoundException
- - The attribute specified is not accessible in the managed object.
javax.management.InstanceNotFoundException
- - The managed object specified is not registered in the MEJB.
javax.management.ReflectionException
- - An exception occurred when trying to invoke the getAttribute method of a Dynamic MBean
RemoteException
- - A communication exception occurred during the execution of a remote method call getAttributesjavax.management.AttributeList getAttributes(javax.management.ObjectName pName, String[] pAttributes) throws javax.management.InstanceNotFoundException, javax.management.ReflectionException, RemoteException
javax.management.j2ee.Management
getAttributes
in interface javax.management.j2ee.Management
pName
- The object name of the managed object from which the attributes are retrieved.pAttributes
- A list of the attributes to be retrieved.
javax.management.InstanceNotFoundException
- - The managed object specified is not registered in the MEJB.
javax.management.ReflectionException
- - An exception occurred when trying to invoke the getAttributes method of a Dynamic MBean.
RemoteException
- - A communication exception occurred during the execution of a remote method callString getDefaultDomain() throws RemoteException
javax.management.j2ee.Management
getDefaultDomain
in interface javax.management.j2ee.Management
RemoteException
- RemoteException - A communication exception occurred during the execution of a remote method call getListenerRegistryInteger getMBeanCount() throws RemoteException
javax.management.j2ee.Management
getMBeanCount
in interface javax.management.j2ee.Management
RemoteException
- A communication exception occurred during the execution of a remote method calljavax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName pName) throws javax.management.IntrospectionException, javax.management.InstanceNotFoundException, javax.management.ReflectionException, RemoteException
javax.management.j2ee.Management
getMBeanInfo
in interface javax.management.j2ee.Management
pName
- The name of the managed object to analyze
javax.management.IntrospectionException
- An exception occurs during introspection.
javax.management.InstanceNotFoundException
- The managed object specified is not found.
javax.management.ReflectionException
- An exception occurred when trying to perform reflection on a managed object
RemoteException
- A communication exception occurred during the execution of a remote method calljavax.management.j2ee.ListenerRegistration getListenerRegistry() throws RemoteException
javax.management.j2ee.Management
getListenerRegistry
in interface javax.management.j2ee.Management
RemoteException
- - A communication exception occurred during the execution of a remote method callObject invoke(javax.management.ObjectName pName, String pOperationName, Object[] pParams, String[] pSignature) throws javax.management.InstanceNotFoundException, javax.management.MBeanException, javax.management.ReflectionException, RemoteException
javax.management.j2ee.Management
invoke
in interface javax.management.j2ee.Management
pName
- The object name of the managed object on which the method is to be invoked.pOperationName
- The name of the operation to be invoked.pParams
- An array containing the parameters to be set when the operation is invokedpSignature
- 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.
javax.management.InstanceNotFoundException
- - The managed object specified is not registered in the MEJB.
javax.management.MBeanException
- - Wraps an exception thrown by the managed object's invoked method.
javax.management.ReflectionException
- - Wraps a java.lang.Exception thrown while trying to invoke the method.
RemoteException
- - A communication exception occurred during the execution of a remote method call getDefaultDomainboolean isRegistered(javax.management.ObjectName pName) throws RemoteException
javax.management.j2ee.Management
isRegistered
in interface javax.management.j2ee.Management
pName
- The object name of the managed object to be checked.
RemoteException
- A communication exception occurred during the execution of a remote method callSet queryNames(javax.management.ObjectName pName, javax.management.QueryExp pQuery) throws RemoteException
javax.management.j2ee.Management
queryNames
in interface javax.management.j2ee.Management
pName
- 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.
RemoteException
- A communication exception occurred during the execution of a remote method callvoid setAttribute(javax.management.ObjectName pName, javax.management.Attribute pAttribute) throws javax.management.AttributeNotFoundException, javax.management.InstanceNotFoundException, javax.management.InvalidAttributeValueException, javax.management.MBeanException, javax.management.ReflectionException, RemoteException
javax.management.j2ee.Management
setAttribute
in interface javax.management.j2ee.Management
pName
- The name of the managed object within which the attribute is to be set.pAttribute
- The identification of the attribute to be set and the value it is to be set to.
javax.management.AttributeNotFoundException
javax.management.InstanceNotFoundException
javax.management.InvalidAttributeValueException
- - The value specified for the attribute is not valid.
javax.management.MBeanException
- - Wraps an exception thrown by the managed object's setter.
javax.management.ReflectionException
- - An exception occurred when trying to invoke the setAttribute method of a Dynamic MBean.
RemoteException
- - A communication exception occurred during the execution of a remote method call setAttributesjavax.management.AttributeList setAttributes(javax.management.ObjectName pName, javax.management.AttributeList pAttributes) throws javax.management.InstanceNotFoundException, javax.management.ReflectionException, RemoteException
javax.management.j2ee.Management
setAttributes
in interface javax.management.j2ee.Management
pName
- The object name of the managed object within which the attributes are to be set.pAttributes
- A list of attributes: The identification of the attributes to be set and the values they are to be set to.
javax.management.InstanceNotFoundException
- - The managed object specified is not registered in the MEJB.
javax.management.ReflectionException
- - An exception occurred when trying to invoke the setAttributes method of a Dynamic MBean.
RemoteException
- - A communication exception occurred during the execution of a remote method call invokejavax.management.ObjectInstance createMBean(String pClass, javax.management.ObjectName pName, Object[] pParameters, String[] pSignature) throws javax.management.InstanceAlreadyExistsException, javax.management.MBeanException, javax.management.MBeanRegistrationException, javax.management.NotCompliantMBeanException, javax.management.ReflectionException, RemoteException
javax.management.InstanceAlreadyExistsException
javax.management.MBeanException
javax.management.MBeanRegistrationException
javax.management.NotCompliantMBeanException
javax.management.ReflectionException
RemoteException
void unregisterMBean(javax.management.ObjectName pName) throws javax.management.InstanceNotFoundException, javax.management.MBeanRegistrationException, RemoteException
javax.management.InstanceNotFoundException
javax.management.MBeanRegistrationException
RemoteException
void addNotificationListener(javax.management.ObjectName pBroadcaster, javax.management.ObjectName pListener, javax.management.NotificationFilter pFilter, Object pHandback) throws javax.management.InstanceNotFoundException, RemoteException
javax.management.InstanceNotFoundException
RemoteException
void removeNotificationListener(javax.management.ObjectName pBroadcaster, javax.management.ObjectName pListener) throws javax.management.InstanceNotFoundException, javax.management.ListenerNotFoundException, RemoteException
javax.management.InstanceNotFoundException
javax.management.ListenerNotFoundException
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |