Class ConnectionRouterControlImpl
- java.lang.Object
-
- javax.management.StandardMBean
-
- org.apache.activemq.artemis.core.management.impl.AbstractControl
-
- org.apache.activemq.artemis.core.management.impl.ConnectionRouterControlImpl
-
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,ConnectionRouterControl
public class ConnectionRouterControlImpl extends AbstractControl implements ConnectionRouterControl
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager
-
-
Constructor Summary
Constructors Constructor Description ConnectionRouterControlImpl(ConnectionRouter connectionRouter, StorageManager storageManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MBeanAttributeInfo[]fillMBeanAttributeInfo()protected MBeanOperationInfo[]fillMBeanOperationInfo()StringgetLocalTargetFilter()CompositeDatagetTarget(String key)StringgetTargetAsJSON(String key)StringgetTargetKeyFilter()voidsetLocalTargetFilter(String regExp)voidsetTargetKeyFilter(String regExp)-
Methods inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
blockOnIO, clearIO, getMBeanInfo, sendMessage, tcclCall, tcclInvoke
-
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
-
-
-
-
Constructor Detail
-
ConnectionRouterControlImpl
public ConnectionRouterControlImpl(ConnectionRouter connectionRouter, StorageManager storageManager) throws NotCompliantMBeanException
- Throws:
NotCompliantMBeanException
-
-
Method Detail
-
getTarget
public CompositeData getTarget(String key) throws Exception
- Specified by:
getTargetin interfaceConnectionRouterControl- Throws:
Exception
-
getTargetAsJSON
public String getTargetAsJSON(String key)
- Specified by:
getTargetAsJSONin interfaceConnectionRouterControl
-
setLocalTargetFilter
public void setLocalTargetFilter(String regExp)
- Specified by:
setLocalTargetFilterin interfaceConnectionRouterControl
-
getLocalTargetFilter
public String getLocalTargetFilter()
- Specified by:
getLocalTargetFilterin interfaceConnectionRouterControl
-
setTargetKeyFilter
public void setTargetKeyFilter(String regExp)
- Specified by:
setTargetKeyFilterin interfaceConnectionRouterControl
-
getTargetKeyFilter
public String getTargetKeyFilter()
- Specified by:
getTargetKeyFilterin interfaceConnectionRouterControl
-
fillMBeanOperationInfo
protected MBeanOperationInfo[] fillMBeanOperationInfo()
- Specified by:
fillMBeanOperationInfoin classAbstractControl
-
fillMBeanAttributeInfo
protected MBeanAttributeInfo[] fillMBeanAttributeInfo()
- Specified by:
fillMBeanAttributeInfoin classAbstractControl
-
-