public class ModelControllerMBeanServerPlugin extends BaseMBeanServerPlugin
Constructor and Description |
---|
ModelControllerMBeanServerPlugin(MBeanServer mbeanServer,
ConfiguredDomains configuredDomains,
ModelController controller,
MBeanServerDelegate delegate,
boolean legacyWithProperPropertyFormat,
ProcessType processType,
ManagementModelIntegration.ManagementModelProvider managementModelProvider,
boolean isMasterHc) |
createMBean, createMBean, createMBean, createMBean, deserialize, deserialize, deserialize, getClassLoaderRepository, getDefaultDomain, instantiate, instantiate, instantiate, instantiate, registerMBean, unregisterMBean
public ModelControllerMBeanServerPlugin(MBeanServer mbeanServer, ConfiguredDomains configuredDomains, ModelController controller, MBeanServerDelegate delegate, boolean legacyWithProperPropertyFormat, ProcessType processType, ManagementModelIntegration.ManagementModelProvider managementModelProvider, boolean isMasterHc)
public boolean accepts(ObjectName objectName)
MBeanServerPlugin
true
if this plugin can handle mbeans with the passed in nameobjectName
- the name of the mbean to checkpublic boolean shouldAuditLog()
MBeanServerPlugin
true
if this plugin should audit logpublic boolean shouldAuthorize()
MBeanServerPlugin
true
if this plugin should authorize callspublic Object getAttribute(ObjectName name, String attribute) throws MBeanException, AttributeNotFoundException, InstanceNotFoundException, ReflectionException
public AttributeList getAttributes(ObjectName name, String[] attributes) throws InstanceNotFoundException, ReflectionException
public ClassLoader getClassLoader(ObjectName loaderName) throws InstanceNotFoundException
InstanceNotFoundException
public ClassLoader getClassLoaderFor(ObjectName mbeanName) throws InstanceNotFoundException
InstanceNotFoundException
public String[] getDomains()
public Integer getMBeanCount()
public MBeanInfo getMBeanInfo(ObjectName name) throws InstanceNotFoundException, IntrospectionException, ReflectionException
public ObjectInstance getObjectInstance(ObjectName name) throws InstanceNotFoundException
InstanceNotFoundException
public Object invoke(ObjectName name, String operationName, Object[] params, String[] signature) throws InstanceNotFoundException, MBeanException, ReflectionException
public boolean isInstanceOf(ObjectName name, String className) throws InstanceNotFoundException
InstanceNotFoundException
public boolean isRegistered(ObjectName name)
public Set<ObjectInstance> queryMBeans(ObjectName name, QueryExp query)
public Set<ObjectName> queryNames(ObjectName name, QueryExp query)
public void setAttribute(ObjectName name, Attribute attribute) throws InstanceNotFoundException, AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
public AttributeList setAttributes(ObjectName name, AttributeList attributes) throws InstanceNotFoundException, ReflectionException
public void addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException
InstanceNotFoundException
public void addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException
InstanceNotFoundException
public void removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException
public void removeNotificationListener(ObjectName name, NotificationListener listener) throws InstanceNotFoundException, ListenerNotFoundException
public void removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException
public void removeNotificationListener(ObjectName name, ObjectName listener) throws InstanceNotFoundException, ListenerNotFoundException
Copyright © 2023 JBoss by Red Hat. All rights reserved.