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
public abstract class BaseMBeanServerPlugin extends Object implements MBeanServerPlugin
- Author:
- Kabir Khan
-
-
Constructor Summary
Constructors Constructor Description BaseMBeanServerPlugin()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods 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, setAttributes
-
Methods inherited from interface org.jboss.as.server.jmx.MBeanServerPlugin
accepts, shouldAuditLog, shouldAuthorize
-
-
-
-
Method Detail
-
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
public ClassLoaderRepository getClassLoaderRepository()
- Specified by:
getClassLoaderRepositoryin interfaceMBeanServer
-
getDefaultDomain
public String 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
public Object instantiate(String className) throws ReflectionException, MBeanException
- 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
-
-