public class MRulesJmxNoopRegistrationStrategy extends AbstractMRulesJmxRegistrationStrategy
Modifier and Type | Field and Description |
---|---|
static MRulesJmxNoopRegistrationStrategy |
INSTANCE |
Constructor and Description |
---|
MRulesJmxNoopRegistrationStrategy() |
Modifier and Type | Method and Description |
---|---|
MRuleExecutionSetManagementBean.JMXRecorderBuilder |
getJMXRecorderBuilder(MRuleExecutionSetMetadata metadata,
boolean autoRegister)
Returns a
MRuleExecutionSetManagementBean.JMXRecorderBuilder allowing to make all MRuleExecutionSetManagementBean
registered in any MBean server and related to this ruleset collect event data and emit a MRuleExecutionSetMXNotification . |
protected ObjectName |
getObjectName(MRuleExecutionSetMetadata metadata)
Depending on its metadata, the ruleset will be registered with this ObjectName in the JMX bean.
|
protected boolean |
isRegistered(ObjectName mbeanName,
MBeanServer server) |
boolean |
register(MRuleExecutionSetMetadata metadata,
MBeanServer server)
Registers ruleset with this metadata in provided MBean server
|
boolean |
unregister(MRuleExecutionSetMetadata mbeanName,
MBeanServer server)
Unregisters ruleset with this metadata from provided MBean server
|
getDefaultMBeanServer, isRegistered, isRegistered, register, unregister
public static final MRulesJmxNoopRegistrationStrategy INSTANCE
protected ObjectName getObjectName(MRuleExecutionSetMetadata metadata)
AbstractMRulesJmxRegistrationStrategy
getObjectName
in class AbstractMRulesJmxRegistrationStrategy
protected boolean isRegistered(ObjectName mbeanName, MBeanServer server)
isRegistered
in class AbstractMRulesJmxRegistrationStrategy
public boolean register(MRuleExecutionSetMetadata metadata, MBeanServer server)
MRulesJmxRegistrationStrategy
public boolean unregister(MRuleExecutionSetMetadata mbeanName, MBeanServer server)
MRulesJmxRegistrationStrategy
unregister
in interface MRulesJmxRegistrationStrategy
unregister
in class AbstractMRulesJmxRegistrationStrategy
public MRuleExecutionSetManagementBean.JMXRecorderBuilder getJMXRecorderBuilder(MRuleExecutionSetMetadata metadata, boolean autoRegister)
MRulesJmxRegistrationStrategy
MRuleExecutionSetManagementBean.JMXRecorderBuilder
allowing to make all MRuleExecutionSetManagementBean
registered in any MBean server and related to this ruleset collect event data and emit a MRuleExecutionSetMXNotification
.