Package org.jboss.as.jmx
Class BaseMBeanServerPlugin
java.lang.Object
org.jboss.as.jmx.BaseMBeanServerPlugin
- All Implemented Interfaces:
MBeanServer,MBeanServerConnection,MBeanServerPlugin
- Direct Known Subclasses:
ModelControllerMBeanServerPlugin
- Author:
- Kabir Khan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateMBean(String className, ObjectName name) createMBean(String className, ObjectName name, Object[] params, String[] signature) createMBean(String className, ObjectName name, ObjectName loaderName) createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature) deserialize(String className, byte[] data) Deprecated.deserialize(String className, ObjectName loaderName, byte[] data) Deprecated.deserialize(ObjectName name, byte[] data) Deprecated.instantiate(String className) instantiate(String className, Object[] params, String[] signature) instantiate(String className, ObjectName loaderName) instantiate(String className, ObjectName loaderName, Object[] params, String[] signature) registerMBean(Object object, ObjectName name) voidunregisterMBean(ObjectName name) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.management.MBeanServer
addNotificationListener, addNotificationListener, getAttribute, getAttributes, getClassLoader, getClassLoaderFor, getDomains, getMBeanCount, getMBeanInfo, getObjectInstance, invoke, isInstanceOf, isRegistered, queryMBeans, queryNames, removeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, setAttribute, setAttributesMethods inherited from interface org.jboss.as.server.jmx.MBeanServerPlugin
accepts, shouldAuditLog, shouldAuthorize
-
Constructor Details
-
BaseMBeanServerPlugin
public BaseMBeanServerPlugin()
-
-
Method Details
-
createMBean
public ObjectInstance createMBean(String className, ObjectName name, Object[] params, String[] signature) throws ReflectionException, InstanceAlreadyExistsException, MBeanException, NotCompliantMBeanException - Specified by:
createMBeanin interfaceMBeanServer- Specified by:
createMBeanin interfaceMBeanServerConnection- Throws:
ReflectionExceptionInstanceAlreadyExistsExceptionMBeanExceptionNotCompliantMBeanException
-
createMBean
public ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature) throws ReflectionException, InstanceAlreadyExistsException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException - Specified by:
createMBeanin interfaceMBeanServer- Specified by:
createMBeanin interfaceMBeanServerConnection- Throws:
ReflectionExceptionInstanceAlreadyExistsExceptionMBeanExceptionNotCompliantMBeanExceptionInstanceNotFoundException
-
createMBean
public ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName) throws ReflectionException, InstanceAlreadyExistsException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException - Specified by:
createMBeanin interfaceMBeanServer- Specified by:
createMBeanin interfaceMBeanServerConnection- Throws:
ReflectionExceptionInstanceAlreadyExistsExceptionMBeanExceptionNotCompliantMBeanExceptionInstanceNotFoundException
-
createMBean
public ObjectInstance createMBean(String className, ObjectName name) throws ReflectionException, InstanceAlreadyExistsException, MBeanException, NotCompliantMBeanException - Specified by:
createMBeanin interfaceMBeanServer- Specified by:
createMBeanin interfaceMBeanServerConnection- Throws:
ReflectionExceptionInstanceAlreadyExistsExceptionMBeanExceptionNotCompliantMBeanException
-
deserialize
@Deprecated public ObjectInputStream deserialize(ObjectName name, byte[] data) throws OperationsException Deprecated.- Specified by:
deserializein interfaceMBeanServer- Throws:
OperationsException
-
deserialize
@Deprecated public ObjectInputStream deserialize(String className, byte[] data) throws OperationsException, ReflectionException Deprecated.- Specified by:
deserializein interfaceMBeanServer- Throws:
OperationsExceptionReflectionException
-
deserialize
@Deprecated public ObjectInputStream deserialize(String className, ObjectName loaderName, byte[] data) throws OperationsException, ReflectionException Deprecated.- Specified by:
deserializein interfaceMBeanServer- Throws:
OperationsExceptionReflectionException
-
getClassLoaderRepository
- Specified by:
getClassLoaderRepositoryin interfaceMBeanServer
-
getDefaultDomain
- Specified by:
getDefaultDomainin interfaceMBeanServer- Specified by:
getDefaultDomainin interfaceMBeanServerConnection
-
instantiate
public Object instantiate(String className, Object[] params, String[] signature) throws ReflectionException, MBeanException - Specified by:
instantiatein interfaceMBeanServer- Throws:
ReflectionExceptionMBeanException
-
instantiate
public Object instantiate(String className, ObjectName loaderName, Object[] params, String[] signature) throws ReflectionException, MBeanException, InstanceNotFoundException - Specified by:
instantiatein interfaceMBeanServer- Throws:
ReflectionExceptionMBeanExceptionInstanceNotFoundException
-
instantiate
public Object instantiate(String className, ObjectName loaderName) throws ReflectionException, MBeanException, InstanceNotFoundException - Specified by:
instantiatein interfaceMBeanServer- Throws:
ReflectionExceptionMBeanExceptionInstanceNotFoundException
-
instantiate
- Specified by:
instantiatein interfaceMBeanServer- Throws:
ReflectionExceptionMBeanException
-
registerMBean
public ObjectInstance registerMBean(Object object, ObjectName name) throws InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException - Specified by:
registerMBeanin interfaceMBeanServer- Throws:
InstanceAlreadyExistsExceptionMBeanRegistrationExceptionNotCompliantMBeanException
-
unregisterMBean
public void unregisterMBean(ObjectName name) throws InstanceNotFoundException, MBeanRegistrationException - Specified by:
unregisterMBeanin interfaceMBeanServer- Specified by:
unregisterMBeanin interfaceMBeanServerConnection- Throws:
InstanceNotFoundExceptionMBeanRegistrationException
-