|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.net.jmx.adaptor.server.Adaptor
wrapper around the mbean server that may be exposed as a soap-enabled mbean to the outside world.
Field Summary |
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Fields inherited from interface org.jboss.net.jmx.adaptor.server.Constants (src) |
DEFAULT_AXIS_SERVICE_NAME, DOMAIN, JMX_INSTALL_DESCRIPTOR, NAME, TYPE |
Fields inherited from interface org.jboss.net.Constants (src) |
CREATE_METHOD_NAME, DEPLOYMENT_INFO_CLASS_NAME, DESTROY_METHOD_NAME, INIT_METHOD_NAME, START_METHOD_NAME, STOP_METHOD_NAME, STRING_CLASS_NAME |
Constructor Summary | |
Adaptor()
|
Method Summary | |
void |
addNotificationListener(ObjectName (src) objectName,
NotificationListener (src) notificationListener,
NotificationFilter (src) notificationFilter,
java.lang.Object obj)
Add a notification listener to an MBean. |
void |
addNotificationListener(ObjectName (src) objectName,
ObjectName (src) objectName1,
NotificationFilter (src) notificationFilter,
java.lang.Object obj)
Add a notification listener to an MBean. |
ObjectInstance (src) |
createMBean(java.lang.String str,
ObjectName (src) objectName)
Create an MBean registered using the given object name. |
ObjectInstance (src) |
createMBean(java.lang.String str,
ObjectName (src) objectName,
java.lang.Object[] obj,
java.lang.String[] str3)
Create an MBean registered using the given object name. |
ObjectInstance (src) |
createMBean(java.lang.String str,
ObjectName (src) objectName,
ObjectName (src) objectName2)
Create an MBean registered using the given object name. |
ObjectInstance (src) |
createMBean(java.lang.String str,
ObjectName (src) objectName,
ObjectName (src) objectName2,
java.lang.Object[] obj,
java.lang.String[] str4)
Create an MBean registered using the given object name. |
java.io.ObjectInputStream |
deserialize(ObjectName (src) objectName,
byte[] values)
|
java.io.ObjectInputStream |
deserialize(java.lang.String str,
byte[] values)
|
java.io.ObjectInputStream |
deserialize(java.lang.String str,
ObjectName (src) objectName,
byte[] values)
|
java.lang.Object |
getAttribute(ObjectName (src) objectName,
java.lang.String str)
Retrieve a value from an MBean. |
AttributeList (src) |
getAttributes(ObjectName (src) objectName,
java.lang.String[] str)
Retrieve a list of values from an MBean. |
java.lang.ClassLoader |
getClassLoader(ObjectName (src) objectName)
Retrieve the classloader registered as an MBean |
java.lang.ClassLoader |
getClassLoaderFor(ObjectName (src) objectName)
Retrieve the classloader for an mbean |
ClassLoaderRepository (src) |
getClassLoaderRepository()
Retrieve the classloader repository for this mbean server |
java.lang.String |
getDefaultDomain()
Retrieve the default domain of the mbeanserver. |
java.lang.String[] |
getDomains()
Retrieve the domains of the mbeanserver. |
java.lang.Integer |
getMBeanCount()
Retrieve the number of mbeans registered in the server. |
MBeanInfo (src) |
getMBeanInfo(ObjectName (src) objectName)
Retrieves the jmx metadata for an mbean |
ObjectInstance (src) |
getObjectInstance(ObjectName (src) objectName)
Retrieve an MBean's registration information. |
java.lang.Object |
instantiate(java.lang.String str)
Instantiates an object using the default loader repository and default no-args constructor. |
java.lang.Object |
instantiate(java.lang.String str,
java.lang.Object[] obj,
java.lang.String[] str2)
Instantiates an object using the default loader repository and a given constructor. |
java.lang.Object |
instantiate(java.lang.String str,
ObjectName (src) objectName)
Instantiates an object using the given class loader. |
java.lang.Object |
instantiate(java.lang.String str,
ObjectName (src) objectName,
java.lang.Object[] obj,
java.lang.String[] str3)
Instantiates an object using the given class loader. |
java.lang.Object |
invoke(ObjectName (src) objectName,
java.lang.String str,
java.lang.Object[] obj,
java.lang.String[] str3)
Invokes an operation on an mbean. |
boolean |
isInstanceOf(ObjectName (src) objectName,
java.lang.String str)
Tests whether an mbean can be cast to the given type |
boolean |
isRegistered(ObjectName (src) objectName)
Test whether an mbean is registered. |
java.util.Set |
queryMBeans(ObjectName (src) objectName,
QueryExp (src) queryExp)
Retrieve a set of Object instances |
java.util.Set |
queryNames(ObjectName (src) objectName,
QueryExp (src) queryExp)
Retrieve a set of Object names |
ObjectInstance (src) |
registerMBean(java.lang.Object obj,
ObjectName (src) objectName)
Registers an mbean. |
void |
removeNotificationListener(ObjectName (src) objectName,
NotificationListener (src) notificationListener)
Removes a listener from an mbean. |
void |
removeNotificationListener(ObjectName (src) objectName,
NotificationListener (src) notificationListener,
NotificationFilter (src) filter,
java.lang.Object handback)
Removes a listener from an mbean. |
void |
removeNotificationListener(ObjectName (src) objectName,
ObjectName (src) objectName1)
Removes a listener from an mbean. |
void |
removeNotificationListener(ObjectName (src) objectName,
ObjectName (src) notificationListener,
NotificationFilter (src) filter,
java.lang.Object handback)
Removes a listener from an mbean. |
void |
setAttribute(ObjectName (src) objectName,
Attribute (src) attribute)
Set a value for an MBean. |
AttributeList (src) |
setAttributes(ObjectName (src) objectName,
AttributeList (src) attributeList)
Set a list of values for an MBean. |
void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
void |
stopService()
Sub-classes should override this method to provide custum 'stop' logic. |
void |
unregisterMBean(ObjectName (src) objectName)
Unregisters an mbean. |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.ServiceMBean (src) |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service (src) |
create, destroy, start, stop |
Constructor Detail |
public Adaptor()
Method Detail |
public void startService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
startService
in class ServiceMBeanSupport (src)
java.lang.Exception
public void stopService()
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
stopService
in class ServiceMBeanSupport (src)
public java.lang.Object instantiate(java.lang.String str, ObjectName (src) objectName) throws ReflectionException (src) , MBeanException (src) , InstanceNotFoundException (src)
MBeanServer (src)
instantiate
in interface MBeanServer (src)
str
- Class to instantiate. Must have a public no args constructor.
Cannot contain a null reference.objectName
- Object name of a class loader that has been registered to the server.
If null, the class loader of the MBean server is used.
InstanceNotFoundException (src)
- if the specified class loader was not
registered to the agent
ReflectionException (src)
- If there was an error while trying to invoke
the class's constructor or the given class was not found. This
exception wraps the actual exception thrown.
MBeanException (src)
- If the object constructor threw a checked exception
during the initialization. This exception wraps the actual exception
thrown.public boolean isInstanceOf(ObjectName (src) objectName, java.lang.String str) throws InstanceNotFoundException (src)
MBeanServer (src)
isInstanceOf
in interface MBeanServer (src)
objectName
- the name of the mbeanstr
- the class name to check
InstanceNotFoundException (src)
- if the mbean is not registeredpublic ObjectInstance (src) registerMBean(java.lang.Object obj, ObjectName (src) objectName) throws InstanceAlreadyExistsException (src) , MBeanRegistrationException (src) , NotCompliantMBeanException (src)
MBeanServer (src)
registerMBean
in interface MBeanServer (src)
obj
- the mbean implementation to registerobjectName
- the object name of the mbean to register
NotCompliantMBeanException (src)
- if the class name does not correspond to
a valid MBean
MBeanRegistrationException (src)
- for any exception thrown by the
MBean's preDeregister
InstanceAlreadyExistsException (src)
- if the object name is already registered
in the MBeanServerpublic java.lang.String getDefaultDomain()
MBeanServer (src)
getDefaultDomain
in interface MBeanServer (src)
public MBeanInfo (src) getMBeanInfo(ObjectName (src) objectName) throws InstanceNotFoundException (src) , IntrospectionException (src) , ReflectionException (src)
MBeanServer (src)
getMBeanInfo
in interface MBeanServer (src)
objectName
- the name of the mbean
ReflectionException (src)
- for any error trying to invoke the operation on the mbean
IntrospectionException (src)
- for any error during instrospection
InstanceNotFoundException (src)
- if the mbean is not registeredpublic ObjectInstance (src) getObjectInstance(ObjectName (src) objectName) throws InstanceNotFoundException (src)
MBeanServer (src)
getObjectInstance
in interface MBeanServer (src)
objectName
- the object name of the mbean
InstanceNotFoundException (src)
- if the mbean is not registered
in the MBeanServerpublic java.lang.Object instantiate(java.lang.String str) throws ReflectionException (src) , MBeanException (src)
MBeanServer (src)
instantiate
in interface MBeanServer (src)
str
- Class to instantiate. Must have a public no-args
constructor. Cannot contain a null reference.
ReflectionException (src)
- If there was an error while trying to invoke
the class's constructor or the given class was not found. This
exception wraps the actual exception thrown.
MBeanException (src)
- If the object constructor threw a checked exception
during the initialization. This exception wraps the actual
exception thrown.DefaultLoaderRepository
(src) public boolean isRegistered(ObjectName (src) objectName)
MBeanServer (src)
isRegistered
in interface MBeanServer (src)
objectName
- the object name of the mbean
public void addNotificationListener(ObjectName (src) objectName, NotificationListener (src) notificationListener, NotificationFilter (src) notificationFilter, java.lang.Object obj) throws InstanceNotFoundException (src)
MBeanServer (src)
addNotificationListener
in interface MBeanServer (src)
objectName
- the name of the MBean broadcasting notificationsnotificationListener
- the listener to addnotificationFilter
- a filter to preprocess notificationsobj
- a object to add to any notifications
InstanceNotFoundException (src)
- if the broadcaster is not registeredpublic void addNotificationListener(ObjectName (src) objectName, ObjectName (src) objectName1, NotificationFilter (src) notificationFilter, java.lang.Object obj) throws InstanceNotFoundException (src)
MBeanServer (src)
addNotificationListener
in interface MBeanServer (src)
objectName
- the name of the MBean broadcasting notificationsobjectName1
- the object name listener to addnotificationFilter
- a filter to preprocess notificationsobj
- a object to add to any notifications
InstanceNotFoundException (src)
- if the broadcaster or listener is not registeredpublic ObjectInstance (src) createMBean(java.lang.String str, ObjectName (src) objectName) throws ReflectionException (src) , InstanceAlreadyExistsException (src) , MBeanRegistrationException (src) , MBeanException (src) , NotCompliantMBeanException (src)
MBeanServer (src)
Uses the default contructor.
createMBean
in interface MBeanServer (src)
str
- the class name of the mbeanobjectName
- the object name for registration, can be null
NotCompliantMBeanException (src)
- if the class name does not correspond to
a valid MBean
ReflectionException (src)
- for class not found or an exception
invoking the contructor
MBeanException (src)
- for any exception thrown by the MBean's constructor
InstanceAlreadyExistsException (src)
- for an MBean already registered
with the passed or generated ObjectName
MBeanRegistrationException (src)
- for any exception thrown by the
MBean's preRegisterpublic ObjectInstance (src) createMBean(java.lang.String str, ObjectName (src) objectName, ObjectName (src) objectName2) throws ReflectionException (src) , InstanceAlreadyExistsException (src) , MBeanRegistrationException (src) , MBeanException (src) , NotCompliantMBeanException (src) , InstanceNotFoundException (src)
MBeanServer (src)
The MBean is loaded using the passed classloader. Uses the default contructor.
createMBean
in interface MBeanServer (src)
str
- the class name of the mbeanobjectName2
- an MBean that implements a classloaderobjectName
- the object name for registration, can be null
InstanceNotFoundException (src)
- if the loaderName is not a classloader registered
in the MBeanServer
MBeanException (src)
- for any exception thrown by the MBean's constructor
ReflectionException (src)
- for class not found or an exception
invoking the contructor
MBeanRegistrationException (src)
- for any exception thrown by the
MBean's preRegister
NotCompliantMBeanException (src)
- if the class name does not correspond to
a valid MBean
InstanceAlreadyExistsException (src)
- for an MBean already registered
with the passed or generated ObjectNamepublic java.lang.Object getAttribute(ObjectName (src) objectName, java.lang.String str) throws MBeanException (src) , AttributeNotFoundException (src) , InstanceNotFoundException (src) , ReflectionException (src)
MBeanServer (src)
getAttribute
in interface MBeanServer (src)
objectName
- the object name of the mbeanstr
- the attribute name of the value to retrieve
AttributeNotFoundException (src)
- if the mbean has no such attribute
ReflectionException (src)
- for an exception invoking the mbean
InstanceNotFoundException (src)
- if the mbean is not registered
MBeanException (src)
- for any exception thrown by the mbeanpublic ObjectInstance (src) createMBean(java.lang.String str, ObjectName (src) objectName, ObjectName (src) objectName2, java.lang.Object[] obj, java.lang.String[] str4) throws ReflectionException (src) , InstanceAlreadyExistsException (src) , MBeanRegistrationException (src) , MBeanException (src) , NotCompliantMBeanException (src) , InstanceNotFoundException (src)
MBeanServer (src)
The MBean is loaded using the passed classloader. Uses the specified constructor.
createMBean
in interface MBeanServer (src)
str
- the class name of the mbeanobjectName2
- an MBean that implements a classloaderobjectName
- the object name for registration, can be nullobj
- the parameters for the constructorstr4
- the signature of the constructor
MBeanRegistrationException (src)
- for any exception thrown by the
MBean's preRegister
MBeanException (src)
- for any exception thrown by the MBean's constructor
InstanceNotFoundException (src)
- if the loaderName is not a classloader registered
in the MBeanServer
NotCompliantMBeanException (src)
- if the class name does not correspond to
a valid MBean
ReflectionException (src)
- for class not found or an exception
invoking the contructor
InstanceAlreadyExistsException (src)
- for an MBean already registered
with the passed or generated ObjectNamepublic ObjectInstance (src) createMBean(java.lang.String str, ObjectName (src) objectName, java.lang.Object[] obj, java.lang.String[] str3) throws ReflectionException (src) , InstanceAlreadyExistsException (src) , MBeanRegistrationException (src) , MBeanException (src) , NotCompliantMBeanException (src)
MBeanServer (src)
Uses the specified constructor.
createMBean
in interface MBeanServer (src)
str
- the class name of the mbeanobj
- the parameters for the constructorstr3
- the signature of the constructor
ReflectionException (src)
- for class not found or an exception
invoking the contructor
MBeanException (src)
- for any exception thrown by the MBean's constructor
MBeanRegistrationException (src)
- for any exception thrown by the
MBean's preRegister
InstanceAlreadyExistsException (src)
- for an MBean already registered
with the passed or generated ObjectName
NotCompliantMBeanException (src)
- if the class name does not correspond to
a valid MBeanpublic void setAttribute(ObjectName (src) objectName, Attribute (src) attribute) throws InstanceNotFoundException (src) , AttributeNotFoundException (src) , InvalidAttributeValueException (src) , MBeanException (src) , ReflectionException (src)
MBeanServer (src)
setAttribute
in interface MBeanServer (src)
objectName
- the object name of the mbeanattribute
- the attribute name and value to set
MBeanException (src)
- for any exception thrown by the mbean
InvalidAttributeValueException (src)
- if the new value has an incorrect type
InstanceNotFoundException (src)
- if the mbean is not registered
ReflectionException (src)
- for an exception invoking the mbean
AttributeNotFoundException (src)
- if the mbean has no such attributepublic java.lang.Object instantiate(java.lang.String str, java.lang.Object[] obj, java.lang.String[] str2) throws ReflectionException (src) , MBeanException (src)
MBeanServer (src)
instantiate
in interface MBeanServer (src)
str
- class to instantiateobj
- argument values for the constructor callstr2
- signature of the constructor as fully qualified class names
ReflectionException (src)
- If there was an error while trying to invoke
the class's constructor or the given class was not found. This
exception wraps the actual exception thrown.
MBeanException (src)
- If the object constructor raised a checked exception
during the initialization. This exception wraps the actual exception
thrown.DefaultLoaderRepository
(src) public java.lang.Object instantiate(java.lang.String str, ObjectName (src) objectName, java.lang.Object[] obj, java.lang.String[] str3) throws ReflectionException (src) , MBeanException (src) , InstanceNotFoundException (src)
MBeanServer (src)
instantiate
in interface MBeanServer (src)
str
- class to instantiateobjectName
- object name of a registered class loader in the agent.obj
- argument values for the constructor callstr3
- signature of the constructor as fully qualified class name strings
MBeanException (src)
- If the object constructor raised a checked exception
during the initialization. This exception wraps the actual exception thrown.
ReflectionException (src)
- If there was an error while trying to invoke the
class's constructor or the given class was not found. this exception
wraps the actual exception thrown.
InstanceNotFoundException (src)
- if the specified class loader was not
registered to the agent.public java.io.ObjectInputStream deserialize(java.lang.String str, ObjectName (src) objectName, byte[] values) throws InstanceNotFoundException (src) , OperationsException (src) , ReflectionException (src)
deserialize
in interface MBeanServer (src)
InstanceNotFoundException (src)
OperationsException (src)
ReflectionException (src)
public java.io.ObjectInputStream deserialize(java.lang.String str, byte[] values) throws OperationsException (src) , ReflectionException (src)
deserialize
in interface MBeanServer (src)
OperationsException (src)
ReflectionException (src)
public java.util.Set queryMBeans(ObjectName (src) objectName, QueryExp (src) queryExp)
MBeanServer (src)
queryMBeans
in interface MBeanServer (src)
objectName
- an ObjectName pattern, can be null for all mbeansqueryExp
- a query expression to further filter the mbeans, can be null
for no querypublic AttributeList (src) setAttributes(ObjectName (src) objectName, AttributeList (src) attributeList) throws InstanceNotFoundException (src) , ReflectionException (src)
MBeanServer (src)
setAttributes
in interface MBeanServer (src)
objectName
- the object name of the mbeanattributeList
- the attribute names and values to set
InstanceNotFoundException (src)
- if the mbean is not registered
ReflectionException (src)
- for an exception invoking the mbeanpublic java.lang.Integer getMBeanCount()
MBeanServer (src)
getMBeanCount
in interface MBeanServer (src)
public java.lang.Object invoke(ObjectName (src) objectName, java.lang.String str, java.lang.Object[] obj, java.lang.String[] str3) throws InstanceNotFoundException (src) , MBeanException (src) , ReflectionException (src)
MBeanServer (src)
invoke
in interface MBeanServer (src)
objectName
- the object name of the mbeanstr
- the operation to performobj
- the parametersstr3
- the signature of the operation
InstanceNotFoundException (src)
- if the mbean is not registered
MBeanException (src)
- for any exception thrown by the mbean
ReflectionException (src)
- for an exception invoking the mbeanpublic java.io.ObjectInputStream deserialize(ObjectName (src) objectName, byte[] values) throws InstanceNotFoundException (src) , OperationsException (src)
deserialize
in interface MBeanServer (src)
InstanceNotFoundException (src)
OperationsException (src)
public AttributeList (src) getAttributes(ObjectName (src) objectName, java.lang.String[] str) throws InstanceNotFoundException (src) , ReflectionException (src)
MBeanServer (src)
getAttributes
in interface MBeanServer (src)
objectName
- the object name of the mbeanstr
- the attribute names of the values to retrieve
ReflectionException (src)
- for an exception invoking the mbean
InstanceNotFoundException (src)
- if the mbean is not registeredpublic java.util.Set queryNames(ObjectName (src) objectName, QueryExp (src) queryExp)
MBeanServer (src)
queryNames
in interface MBeanServer (src)
objectName
- an ObjectName pattern, can be null for all mbeansqueryExp
- a query expression to further filter the mbeans, can be null
for no querypublic void unregisterMBean(ObjectName (src) objectName) throws InstanceNotFoundException (src) , MBeanRegistrationException (src)
MBeanServer (src)
unregisterMBean
in interface MBeanServer (src)
objectName
- the object name of the mbean to unregister
InstanceNotFoundException (src)
- if the mbean is not registered
in the MBeanServer
MBeanRegistrationException (src)
- for any exception thrown by the
MBean's preDeregisterpublic void removeNotificationListener(ObjectName (src) objectName, ObjectName (src) objectName1) throws InstanceNotFoundException (src) , ListenerNotFoundException (src)
MBeanServer (src)
All registrations of the listener are removed.
removeNotificationListener
in interface MBeanServer (src)
objectName
- the name of the MBean broadcasting notificationsobjectName1
- the object name of the listener to remove
InstanceNotFoundException (src)
- if the broadcaster or listener is not registered
ListenerNotFoundException (src)
- if the listener is not registered against the broadcasterpublic void removeNotificationListener(ObjectName (src) objectName, NotificationListener (src) notificationListener) throws InstanceNotFoundException (src) , ListenerNotFoundException (src)
MBeanServer (src)
All registrations of the listener are removed.
removeNotificationListener
in interface MBeanServer (src)
objectName
- the name of the MBean broadcasting notificationsnotificationListener
- the listener to remove
InstanceNotFoundException (src)
- if the broadcaster is not registered
ListenerNotFoundException (src)
- if the listener is not registered against the broadcasterpublic ClassLoaderRepository (src) getClassLoaderRepository()
MBeanServer (src)
getClassLoaderRepository
in interface MBeanServer (src)
public java.lang.ClassLoader getClassLoader(ObjectName (src) objectName) throws InstanceNotFoundException (src)
MBeanServer (src)
getClassLoader
in interface MBeanServer (src)
objectName
- the object name of the classloader
InstanceNotFoundException (src)
- when the mbean is not registeredpublic java.lang.ClassLoader getClassLoaderFor(ObjectName (src) objectName) throws InstanceNotFoundException (src)
MBeanServer (src)
getClassLoaderFor
in interface MBeanServer (src)
objectName
- the object name of the mbean
InstanceNotFoundException (src)
- when the mbean is not registeredpublic void removeNotificationListener(ObjectName (src) objectName, ObjectName (src) notificationListener, NotificationFilter (src) filter, java.lang.Object handback) throws InstanceNotFoundException (src) , ListenerNotFoundException (src)
MBeanServer (src)
Only the listener that was registered with the same filter and handback is removed.
removeNotificationListener
in interface MBeanServer (src)
objectName
- the name of the MBean broadcasting notificationsnotificationListener
- the object name of listener to removefilter
- the filter of the listener to remove
ListenerNotFoundException (src)
- if the listener, filter, handback
is not registered against the broadcaster
InstanceNotFoundException (src)
- if the broadcaster or listener is not registeredpublic void removeNotificationListener(ObjectName (src) objectName, NotificationListener (src) notificationListener, NotificationFilter (src) filter, java.lang.Object handback) throws InstanceNotFoundException (src) , ListenerNotFoundException (src)
MBeanServer (src)
Only the listener that was registered with the same filter and handback is removed.
removeNotificationListener
in interface MBeanServer (src)
objectName
- the name of the MBean broadcasting notificationsnotificationListener
- the listener to removefilter
- the filter of the listener to remove
InstanceNotFoundException (src)
- if the broadcaster is not registered
ListenerNotFoundException (src)
- if the listener, filter, handback
is not registered against the broadcasterpublic java.lang.String[] getDomains()
MBeanServer (src)
getDomains
in interface MBeanServer (src)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |