|
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 state| Method Detail |
|---|
public MBeanInfo getMBeanInfo(ObjectName name)
throws InstanceNotFoundException,
IntrospectionException,
ReflectionException
getMBeanInfo in interface MBeanServergetMBeanInfo in interface MBeanServerConnectiongetMBeanInfo in class DelegateMBeanServerInstanceNotFoundException
IntrospectionException
ReflectionException
public Object getAttribute(ObjectName name,
String attribute)
throws MBeanException,
AttributeNotFoundException,
InstanceNotFoundException,
ReflectionException
getAttribute in interface MBeanServergetAttribute in interface MBeanServerConnectiongetAttribute in class DelegateMBeanServerMBeanException
AttributeNotFoundException
InstanceNotFoundException
ReflectionException
public AttributeList getAttributes(ObjectName name,
String[] attributes)
throws InstanceNotFoundException,
ReflectionException
getAttributes in interface MBeanServergetAttributes in interface MBeanServerConnectiongetAttributes in class DelegateMBeanServerInstanceNotFoundException
ReflectionException
public void setAttribute(ObjectName name,
Attribute attribute)
throws InstanceNotFoundException,
AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException
setAttribute in interface MBeanServersetAttribute in interface MBeanServerConnectionsetAttribute in class DelegateMBeanServerInstanceNotFoundException
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
public AttributeList setAttributes(ObjectName name,
AttributeList attributes)
throws InstanceNotFoundException,
ReflectionException
setAttributes in interface MBeanServersetAttributes in interface MBeanServerConnectionsetAttributes in class DelegateMBeanServerInstanceNotFoundException
ReflectionException
public Object invoke(ObjectName name,
String operationName,
Object[] params,
String[] signature)
throws InstanceNotFoundException,
MBeanException,
ReflectionException
invoke in interface MBeanServerinvoke in interface MBeanServerConnectioninvoke in class DelegateMBeanServerInstanceNotFoundException
MBeanException
ReflectionException
public ObjectInstance registerMBean(Object object,
ObjectName name)
throws InstanceAlreadyExistsException,
MBeanRegistrationException,
NotCompliantMBeanException
registerMBean in interface MBeanServerregisterMBean in class DelegateMBeanServerInstanceAlreadyExistsException
MBeanRegistrationException
NotCompliantMBeanException
public void unregisterMBean(ObjectName name)
throws InstanceNotFoundException,
MBeanRegistrationException
unregisterMBean in interface MBeanServerunregisterMBean in interface MBeanServerConnectionunregisterMBean in class DelegateMBeanServerInstanceNotFoundException
MBeanRegistrationException
public ObjectInstance createMBean(String className,
ObjectName name,
Object[] params,
String[] signature)
throws ReflectionException,
InstanceAlreadyExistsException,
MBeanRegistrationException,
MBeanException,
NotCompliantMBeanException
createMBean in interface MBeanServercreateMBean in interface MBeanServerConnectioncreateMBean in class DelegateMBeanServerReflectionException
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 MBeanServercreateMBean in interface MBeanServerConnectioncreateMBean in class DelegateMBeanServerReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
InstanceNotFoundException
public ObjectInstance createMBean(String className,
ObjectName name,
ObjectName loaderName)
throws ReflectionException,
InstanceAlreadyExistsException,
MBeanRegistrationException,
MBeanException,
NotCompliantMBeanException,
InstanceNotFoundException
createMBean in interface MBeanServercreateMBean in interface MBeanServerConnectioncreateMBean in class DelegateMBeanServerReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
InstanceNotFoundException
public ObjectInstance createMBean(String className,
ObjectName name)
throws ReflectionException,
InstanceAlreadyExistsException,
MBeanRegistrationException,
MBeanException,
NotCompliantMBeanException
createMBean in interface MBeanServercreateMBean in interface MBeanServerConnectioncreateMBean in class DelegateMBeanServerReflectionException
InstanceAlreadyExistsException
MBeanRegistrationException
MBeanException
NotCompliantMBeanException
public Object instantiate(String className,
ObjectName loaderName,
Object[] params,
String[] signature)
throws ReflectionException,
MBeanException,
InstanceNotFoundException
instantiate in interface MBeanServerinstantiate in class DelegateMBeanServerReflectionException
MBeanException
InstanceNotFoundException
public Object instantiate(String className)
throws ReflectionException,
MBeanException
instantiate in interface MBeanServerinstantiate in class DelegateMBeanServerReflectionException
MBeanException
public ObjectInstance getObjectInstance(ObjectName name)
throws InstanceNotFoundException
getObjectInstance in interface MBeanServergetObjectInstance in interface MBeanServerConnectiongetObjectInstance in class DelegateMBeanServerInstanceNotFoundException
public boolean isInstanceOf(ObjectName name,
String className)
throws InstanceNotFoundException
isInstanceOf in interface MBeanServerisInstanceOf in interface MBeanServerConnectionisInstanceOf in class DelegateMBeanServerInstanceNotFoundExceptionpublic boolean isRegistered(ObjectName name)
isRegistered in interface MBeanServerisRegistered in interface MBeanServerConnectionisRegistered in class DelegateMBeanServer
public void addNotificationListener(ObjectName name,
NotificationListener listener,
NotificationFilter filter,
Object handback)
throws InstanceNotFoundException
addNotificationListener in interface MBeanServeraddNotificationListener in interface MBeanServerConnectionaddNotificationListener in class DelegateMBeanServerInstanceNotFoundException
public void addNotificationListener(ObjectName name,
ObjectName listener,
NotificationFilter filter,
Object handback)
throws InstanceNotFoundException
addNotificationListener in interface MBeanServeraddNotificationListener in interface MBeanServerConnectionaddNotificationListener in class DelegateMBeanServerInstanceNotFoundException
public void removeNotificationListener(ObjectName name,
NotificationListener listener,
NotificationFilter filter,
Object handback)
throws InstanceNotFoundException,
ListenerNotFoundException
removeNotificationListener in interface MBeanServerremoveNotificationListener in interface MBeanServerConnectionremoveNotificationListener in class DelegateMBeanServerInstanceNotFoundException
ListenerNotFoundException
public void removeNotificationListener(ObjectName name,
NotificationListener listener)
throws InstanceNotFoundException,
ListenerNotFoundException
removeNotificationListener in interface MBeanServerremoveNotificationListener in interface MBeanServerConnectionremoveNotificationListener in class DelegateMBeanServerInstanceNotFoundException
ListenerNotFoundException
public void removeNotificationListener(ObjectName name,
ObjectName listener,
NotificationFilter filter,
Object handback)
throws InstanceNotFoundException,
ListenerNotFoundException
removeNotificationListener in interface MBeanServerremoveNotificationListener in interface MBeanServerConnectionremoveNotificationListener in class DelegateMBeanServerInstanceNotFoundException
ListenerNotFoundException
public void removeNotificationListener(ObjectName name,
ObjectName listener)
throws InstanceNotFoundException,
ListenerNotFoundException
removeNotificationListener in interface MBeanServerremoveNotificationListener in interface MBeanServerConnectionremoveNotificationListener in class DelegateMBeanServerInstanceNotFoundException
ListenerNotFoundException
public ClassLoader getClassLoader(ObjectName loaderName)
throws InstanceNotFoundException
getClassLoader in interface MBeanServergetClassLoader in class DelegateMBeanServerInstanceNotFoundException
public ClassLoader getClassLoaderFor(ObjectName mbeanName)
throws InstanceNotFoundException
getClassLoaderFor in interface MBeanServergetClassLoaderFor in class DelegateMBeanServerInstanceNotFoundException
@Deprecated
public ObjectInputStream deserialize(ObjectName name,
byte[] data)
throws InstanceNotFoundException,
OperationsException
deserialize in interface MBeanServerdeserialize in class DelegateMBeanServerInstanceNotFoundException
OperationsException
@Deprecated
public ObjectInputStream deserialize(String className,
ObjectName loaderName,
byte[] data)
throws InstanceNotFoundException,
OperationsException,
ReflectionException
deserialize in interface MBeanServerdeserialize in class DelegateMBeanServerInstanceNotFoundException
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 current
protected void register(ObjectInstance instance,
ObjectName loaderName)
throws InstanceAlreadyExistsException
instance - the instanceloaderName - the laoder name
InstanceAlreadyExistsException - if already registered
protected void unregister(ObjectName name)
throws InstanceNotFoundException
name - the name to remove
InstanceNotFoundException - when the instance is not found
protected 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 DelegateMBeanServernext - 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 | |||||||||