Class AbstractControl
java.lang.Object
javax.management.StandardMBean
org.apache.activemq.artemis.core.management.impl.AbstractControl
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration
- Direct Known Subclasses:
AcceptorControlImpl,ActiveMQServerControlImpl,AddressControlImpl,BaseBroadcastGroupControlImpl,BridgeControlImpl,BrokerConnectionControlImpl,ClusterConnectionControlImpl,ConnectionRouterControlImpl,DivertControlImpl,HawtioSecurityControlImpl,QueueControlImpl,RemoteBrokerConnectionControlImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidclearIO()protected abstract MBeanAttributeInfo[]protected abstract MBeanOperationInfo[]protected StringsendMessage(SimpleString address, ActiveMQServer server, Map<String, String> headers, int type, String body, boolean durable, String user, String password, boolean createMessageId) protected ObjecttcclCall(ClassLoader loader, Callable<Object> callable) protected voidtcclInvoke(ClassLoader loader, RunnableEx runnableEx) Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
Field Details
-
storageManager
-
-
Constructor Details
-
AbstractControl
public AbstractControl(Class<?> clazz, StorageManager storageManager) throws NotCompliantMBeanException - Throws:
NotCompliantMBeanException
-
-
Method Details
-
clearIO
protected void clearIO() -
blockOnIO
protected void blockOnIO() -
fillMBeanOperationInfo
-
fillMBeanAttributeInfo
-
tcclCall
- Throws:
Exception
-
tcclInvoke
- Throws:
Exception
-
getMBeanInfo
- Specified by:
getMBeanInfoin interfaceDynamicMBean- Overrides:
getMBeanInfoin classStandardMBean
-
sendMessage
protected String sendMessage(SimpleString address, ActiveMQServer server, Map<String, String> headers, int type, String body, boolean durable, String user, String password, boolean createMessageId) throws Exception- Throws:
Exception
-