|
JBossMX Parent POM 6.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jmx.mbeanserver.DelegateMBeanServer
org.jboss.jmx.mbeanserver.JBossMBeanServer
public class JBossMBeanServer
JBossMBeanServer.
Field Summary | |
---|---|
static ObjectName |
REGISTRY_NAME
The new registry name |
Constructor Summary | |
---|---|
JBossMBeanServer(DelegateState state)
Create a new JBossMBeanServer. |
Methods inherited from class org.jboss.jmx.mbeanserver.DelegateMBeanServer |
---|
deserialize, getClassLoaderRepository, getDefaultDomain, getDelegate, getDomains, getMBeanCount, getNext, getOuter, getState, instantiate, instantiate, queryMBeans, queryNames |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static ObjectName REGISTRY_NAME
Constructor Detail |
---|
public JBossMBeanServer(DelegateState state)
state
- the stateMethod Detail |
---|
public MBeanInfo getMBeanInfo(ObjectName name) throws InstanceNotFoundException, IntrospectionException, ReflectionException
getMBeanInfo
in interface MBeanServer
getMBeanInfo
in interface MBeanServerConnection
getMBeanInfo
in class DelegateMBeanServer
InstanceNotFoundException
IntrospectionException
ReflectionException
public Object getAttribute(ObjectName name, String attribute) throws MBeanException, AttributeNotFoundException, InstanceNotFoundException, ReflectionException
getAttribute
in interface MBeanServer
getAttribute
in interface MBeanServerConnection
getAttribute
in class DelegateMBeanServer
MBeanException
AttributeNotFoundException
InstanceNotFoundException
ReflectionException
public AttributeList getAttributes(ObjectName name, String[] attributes) throws InstanceNotFoundException, ReflectionException
getAttributes
in interface MBeanServer
getAttributes
in interface MBeanServerConnection
getAttributes
in class DelegateMBeanServer
InstanceNotFoundException
ReflectionException
public void setAttribute(ObjectName name, Attribute attribute) throws InstanceNotFoundException, AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute
in interface MBeanServer
setAttribute
in interface MBeanServerConnection
setAttribute
in class DelegateMBeanServer
InstanceNotFoundException
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
public AttributeList setAttributes(ObjectName name, AttributeList attributes) throws InstanceNotFoundException, ReflectionException
setAttributes
in interface MBeanServer
setAttributes
in interface MBeanServerConnection
setAttributes
in class DelegateMBeanServer
InstanceNotFoundException
ReflectionException
public Object invoke(ObjectName name, String operationName, Object[] params, String[] signature) throws InstanceNotFoundException, MBeanException, ReflectionException
invoke
in interface MBeanServer
invoke
in interface MBeanServerConnection
invoke
in class DelegateMBeanServer
InstanceNotFoundException
MBeanException
ReflectionException
public ObjectInstance registerMBean(Object object, ObjectName name) throws InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException
registerMBean
in interface MBeanServer
registerMBean
in class DelegateMBeanServer
InstanceAlreadyExistsException
MBeanRegistrationException
NotCompliantMBeanException
public void unregisterMBean(ObjectName name) throws InstanceNotFoundException, MBeanRegistrationException
unregisterMBean
in interface MBeanServer
unregisterMBean
in interface MBeanServerConnection
unregisterMBean
in class DelegateMBeanServer
InstanceNotFoundException
MBeanRegistrationException
public ObjectInstance createMBean(String className, ObjectName name, Object[] params, String[] signature) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException
createMBean
in interface MBeanServer
createMBean
in interface MBeanServerConnection
createMBean
in class DelegateMBeanServer
ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
public ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException
createMBean
in interface MBeanServer
createMBean
in interface MBeanServerConnection
createMBean
in class DelegateMBeanServer
ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
InstanceNotFoundException
public ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException
createMBean
in interface MBeanServer
createMBean
in interface MBeanServerConnection
createMBean
in class DelegateMBeanServer
ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
InstanceNotFoundException
public ObjectInstance createMBean(String className, ObjectName name) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException
createMBean
in interface MBeanServer
createMBean
in interface MBeanServerConnection
createMBean
in class DelegateMBeanServer
ReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
public Object instantiate(String className, ObjectName loaderName, Object[] params, String[] signature) throws ReflectionException, MBeanException, InstanceNotFoundException
instantiate
in interface MBeanServer
instantiate
in class DelegateMBeanServer
ReflectionException
MBeanException
InstanceNotFoundException
public Object instantiate(String className) throws ReflectionException, MBeanException
instantiate
in interface MBeanServer
instantiate
in class DelegateMBeanServer
ReflectionException
MBeanException
public ObjectInstance getObjectInstance(ObjectName name) throws InstanceNotFoundException
getObjectInstance
in interface MBeanServer
getObjectInstance
in interface MBeanServerConnection
getObjectInstance
in class DelegateMBeanServer
InstanceNotFoundException
public boolean isInstanceOf(ObjectName name, String className) throws InstanceNotFoundException
isInstanceOf
in interface MBeanServer
isInstanceOf
in interface MBeanServerConnection
isInstanceOf
in class DelegateMBeanServer
InstanceNotFoundException
public boolean isRegistered(ObjectName name)
isRegistered
in interface MBeanServer
isRegistered
in interface MBeanServerConnection
isRegistered
in class DelegateMBeanServer
public void addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException
addNotificationListener
in interface MBeanServer
addNotificationListener
in interface MBeanServerConnection
addNotificationListener
in class DelegateMBeanServer
InstanceNotFoundException
public void addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException
addNotificationListener
in interface MBeanServer
addNotificationListener
in interface MBeanServerConnection
addNotificationListener
in class DelegateMBeanServer
InstanceNotFoundException
public void removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException
removeNotificationListener
in interface MBeanServer
removeNotificationListener
in interface MBeanServerConnection
removeNotificationListener
in class DelegateMBeanServer
InstanceNotFoundException
ListenerNotFoundException
public void removeNotificationListener(ObjectName name, NotificationListener listener) throws InstanceNotFoundException, ListenerNotFoundException
removeNotificationListener
in interface MBeanServer
removeNotificationListener
in interface MBeanServerConnection
removeNotificationListener
in class DelegateMBeanServer
InstanceNotFoundException
ListenerNotFoundException
public void removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException
removeNotificationListener
in interface MBeanServer
removeNotificationListener
in interface MBeanServerConnection
removeNotificationListener
in class DelegateMBeanServer
InstanceNotFoundException
ListenerNotFoundException
public void removeNotificationListener(ObjectName name, ObjectName listener) throws InstanceNotFoundException, ListenerNotFoundException
removeNotificationListener
in interface MBeanServer
removeNotificationListener
in interface MBeanServerConnection
removeNotificationListener
in class DelegateMBeanServer
InstanceNotFoundException
ListenerNotFoundException
public ClassLoader getClassLoader(ObjectName loaderName) throws InstanceNotFoundException
getClassLoader
in interface MBeanServer
getClassLoader
in class DelegateMBeanServer
InstanceNotFoundException
public ClassLoader getClassLoaderFor(ObjectName mbeanName) throws InstanceNotFoundException
getClassLoaderFor
in interface MBeanServer
getClassLoaderFor
in class DelegateMBeanServer
InstanceNotFoundException
@Deprecated public ObjectInputStream deserialize(ObjectName name, byte[] data) throws InstanceNotFoundException, OperationsException
deserialize
in interface MBeanServer
deserialize
in class DelegateMBeanServer
InstanceNotFoundException
OperationsException
@Deprecated public ObjectInputStream deserialize(String className, ObjectName loaderName, byte[] data) throws InstanceNotFoundException, OperationsException, ReflectionException
deserialize
in interface MBeanServer
deserialize
in class DelegateMBeanServer
InstanceNotFoundException
OperationsException
ReflectionException
protected org.jboss.jmx.mbeanserver.RegistryEntry checkCurrent(ObjectName name, ClassLoader cl)
name
- the current namecl
- the classloader
protected void restoreCurrent(org.jboss.jmx.mbeanserver.RegistryEntry previous)
previous
- any previous currentprotected void register(ObjectInstance instance, ObjectName loaderName) throws InstanceAlreadyExistsException
instance
- the instanceloaderName
- the laoder name
InstanceAlreadyExistsException
- if already registeredprotected void unregister(ObjectName name) throws InstanceNotFoundException
name
- the name to remove
InstanceNotFoundException
- when the instance is not foundprotected ClassLoader getTCL(ObjectName name) throws InstanceNotFoundException
name
- the name of the mbean
InstanceNotFoundException
- if the name is not registeredprotected ObjectName mapObjectName(ObjectName name)
name
- the name
protected void setNext(MBeanServer next)
DelegateMBeanServer
setNext
in class DelegateMBeanServer
next
- the next.
|
JBossMX Parent POM 6.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |