|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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)
Gets the values of the specified attributes of a named managed object. |
String |
getDefaultDomain()
|
javax.management.j2ee.ListenerRegistration |
getListenerRegistry()
|
Integer |
getMBeanCount()
|
javax.management.MBeanInfo |
getMBeanInfo(javax.management.ObjectName pName)
Returns the MBean info about the requested Managed Object |
Object |
invoke(javax.management.ObjectName pName,
String pOperationName,
Object[] pParams,
String[] pSignature)
Invokes an operation on the specified managed object |
boolean |
isRegistered(javax.management.ObjectName pName)
Checks whether an 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 object 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 the specified 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 |
public 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
- Object Name of the managed object from which the attribute
is to be retrievedpAttribute
- Name of the Attribute to be retrieved which is case
sensitive
javax.management.InstanceNotFoundException
- Specified managed object is not registered
in the MEJB
javax.management.ReflectionException
- Wraps a exception thrown when trying to
the setter (??)
javax.management.MBeanException
javax.management.AttributeNotFoundException
RemoteException
public javax.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
- Object Name of the managed object from which the attribute
is to be retrievedpAttributes
- Names of the Attribute to be retrieved which is case
sensitive
javax.management.InstanceNotFoundException
- Specified managed object is not registered
in the MEJB
javax.management.ReflectionException
- Wraps a exception thrown when trying to
the setter (??)
RemoteException
public String getDefaultDomain() throws RemoteException
getDefaultDomain
in interface javax.management.j2ee.Management
RemoteException
public Integer getMBeanCount() throws RemoteException
getMBeanCount
in interface javax.management.j2ee.Management
RemoteException
public javax.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
- Object Name of the Managed Object
javax.management.IntrospectionException
javax.management.InstanceNotFoundException
javax.management.ReflectionException
RemoteException
public javax.management.j2ee.ListenerRegistration getListenerRegistry() throws RemoteException
getListenerRegistry
in interface javax.management.j2ee.Management
RemoteException
public Object 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
- Object Name of the managed object on which the method is to
be invokedpOperationName
- Name of the Operation to be invokedpParams
- List of parameters to be set as parameter when the operation
is invokedpSignature
- List of types of the parameter list 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
- Managed Object could not be found in the MEJB
by specifed object name
javax.management.ReflectionException
- Wraps an Exception thrown while trying to invoke
the method
javax.management.MBeanException
RemoteException
public boolean isRegistered(javax.management.ObjectName pName) throws RemoteException
javax.management.j2ee.Management
isRegistered
in interface javax.management.j2ee.Management
pName
- Object Name of the managed object to be checked
RemoteException
public Set queryNames(javax.management.ObjectName pName, javax.management.QueryExp pQuery) throws RemoteException
javax.management.j2ee.Management
queryNames
in interface javax.management.j2ee.Management
pName
- 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.pQuery
- Query Expression instance for further select the desired objecs
RemoteException
public void 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
- Object Name of the managed object from which the attribute
is to be retrievedpAttribute
- Identification of the attribute to be set and the value it
is to be set to
javax.management.InvalidAttributeValueException
- Given value for the attribute is not valid
javax.management.ReflectionException
- Wraps a exception thrown when trying to
the setter
javax.management.InstanceNotFoundException
- Managed Object could not be found in the MEJB
by specifed object name
javax.management.AttributeNotFoundException
- Specified attribute is not accessible in the
managed object
javax.management.MBeanException
RemoteException
public javax.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
- Object Name of the managed object from which the attribute
is to be retrievedpAttributes
- Identification of the attributes to be set and the values they
are to be set to
javax.management.ReflectionException
- Wraps a exception thrown when trying to
the setter
javax.management.InstanceNotFoundException
- Managed Object could not be found in the MEJB
by specifed object name
RemoteException
public javax.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
public void unregisterMBean(javax.management.ObjectName pName) throws javax.management.InstanceNotFoundException, javax.management.MBeanRegistrationException, RemoteException
javax.management.InstanceNotFoundException
javax.management.MBeanRegistrationException
RemoteException
public 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
public 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 |