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,ClusterConnectionControlImpl,ConnectionRouterControlImpl,DivertControlImpl,HawtioSecurityControlImpl,QueueControlImpl
public abstract class AbstractControl extends StandardMBean
-
-
Field Summary
Fields Modifier and Type Field Description protected StorageManagerstorageManager
-
Constructor Summary
Constructors Constructor Description AbstractControl(Class<?> clazz, StorageManager storageManager)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidblockOnIO()protected voidclearIO()protected abstract MBeanAttributeInfo[]fillMBeanAttributeInfo()protected abstract MBeanOperationInfo[]fillMBeanOperationInfo()MBeanInfogetMBeanInfo()protected StringsendMessage(SimpleString address, ActiveMQServer server, Map<String,String> headers, int type, String body, boolean durable, String user, String password, boolean createMessageId, Long... queueID)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 Detail
-
storageManager
protected final StorageManager storageManager
-
-
Constructor Detail
-
AbstractControl
public AbstractControl(Class<?> clazz, StorageManager storageManager) throws NotCompliantMBeanException
- Throws:
NotCompliantMBeanException
-
-
Method Detail
-
clearIO
protected void clearIO()
-
blockOnIO
protected void blockOnIO()
-
fillMBeanOperationInfo
protected abstract MBeanOperationInfo[] fillMBeanOperationInfo()
-
fillMBeanAttributeInfo
protected abstract MBeanAttributeInfo[] fillMBeanAttributeInfo()
-
tcclCall
protected Object tcclCall(ClassLoader loader, Callable<Object> callable) throws Exception
- Throws:
Exception
-
tcclInvoke
protected void tcclInvoke(ClassLoader loader, RunnableEx runnableEx) throws Exception
- Throws:
Exception
-
getMBeanInfo
public MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfoin interfaceDynamicMBean- Overrides:
getMBeanInfoin classStandardMBean
-
-