Package org.jboss.as.jmx.model
Class ModelControllerMBeanServerPlugin
java.lang.Object
org.jboss.as.jmx.BaseMBeanServerPlugin
org.jboss.as.jmx.model.ModelControllerMBeanServerPlugin
- All Implemented Interfaces:
MBeanServer,MBeanServerConnection,MBeanServerPlugin
An MBeanServer wrapper that exposes the ModelController via JMX.
- Author:
- Kabir Khan
-
Constructor Summary
ConstructorsConstructorDescriptionModelControllerMBeanServerPlugin(MBeanServer mbeanServer, ConfiguredDomains configuredDomains, org.jboss.as.controller.ModelController controller, org.jboss.as.controller.notification.NotificationHandlerRegistry notificationHandlerRegistry, MBeanServerDelegate delegate, boolean legacyWithProperPropertyFormat, org.jboss.as.controller.ProcessType processType, ManagementModelIntegration.ManagementModelProvider managementModelProvider, boolean isMasterHc) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccepts(ObjectName objectName) voidaddNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) voidaddNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) getAttribute(ObjectName name, String attribute) getAttributes(ObjectName name, String[] attributes) getClassLoader(ObjectName loaderName) getClassLoaderFor(ObjectName mbeanName) String[]getMBeanInfo(ObjectName name) getObjectInstance(ObjectName name) invoke(ObjectName name, String operationName, Object[] params, String[] signature) booleanisInstanceOf(ObjectName name, String className) booleanisRegistered(ObjectName name) queryMBeans(ObjectName name, QueryExp query) queryNames(ObjectName name, QueryExp query) voidremoveNotificationListener(ObjectName name, NotificationListener listener) voidremoveNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) voidremoveNotificationListener(ObjectName name, ObjectName listener) voidremoveNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) voidsetAttribute(ObjectName name, Attribute attribute) setAttributes(ObjectName name, AttributeList attributes) booleanbooleanMethods inherited from class org.jboss.as.jmx.BaseMBeanServerPlugin
createMBean, createMBean, createMBean, createMBean, deserialize, deserialize, deserialize, getClassLoaderRepository, getDefaultDomain, instantiate, instantiate, instantiate, instantiate, registerMBean, unregisterMBean
-
Constructor Details
-
ModelControllerMBeanServerPlugin
public ModelControllerMBeanServerPlugin(MBeanServer mbeanServer, ConfiguredDomains configuredDomains, org.jboss.as.controller.ModelController controller, org.jboss.as.controller.notification.NotificationHandlerRegistry notificationHandlerRegistry, MBeanServerDelegate delegate, boolean legacyWithProperPropertyFormat, org.jboss.as.controller.ProcessType processType, ManagementModelIntegration.ManagementModelProvider managementModelProvider, boolean isMasterHc)
-
-
Method Details
-
accepts
-
shouldAuditLog
public boolean shouldAuditLog() -
shouldAuthorize
public boolean shouldAuthorize() -
getAttribute
public Object getAttribute(ObjectName name, String attribute) throws MBeanException, AttributeNotFoundException, InstanceNotFoundException, ReflectionException -
getAttributes
public AttributeList getAttributes(ObjectName name, String[] attributes) throws InstanceNotFoundException, ReflectionException -
getClassLoader
- Throws:
InstanceNotFoundException
-
getClassLoaderFor
- Throws:
InstanceNotFoundException
-
getDomains
-
getMBeanCount
-
getMBeanInfo
public MBeanInfo getMBeanInfo(ObjectName name) throws InstanceNotFoundException, IntrospectionException, ReflectionException -
getObjectInstance
- Throws:
InstanceNotFoundException
-
invoke
public Object invoke(ObjectName name, String operationName, Object[] params, String[] signature) throws InstanceNotFoundException, MBeanException, ReflectionException -
isInstanceOf
- Throws:
InstanceNotFoundException
-
isRegistered
-
queryMBeans
-
queryNames
-
setAttribute
public void setAttribute(ObjectName name, Attribute attribute) throws InstanceNotFoundException, AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException -
setAttributes
public AttributeList setAttributes(ObjectName name, AttributeList attributes) throws InstanceNotFoundException, ReflectionException -
addNotificationListener
public void addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException - Throws:
InstanceNotFoundException
-
addNotificationListener
public void addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException - Throws:
InstanceNotFoundException
-
removeNotificationListener
public void removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException -
removeNotificationListener
public void removeNotificationListener(ObjectName name, NotificationListener listener) throws InstanceNotFoundException, ListenerNotFoundException -
removeNotificationListener
public void removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException -
removeNotificationListener
public void removeNotificationListener(ObjectName name, ObjectName listener) throws InstanceNotFoundException, ListenerNotFoundException
-