public class MRulesJmxNameRegistrationStrategy extends AbstractMRulesJmxRegistrationStrategy
Constructor and Description |
---|
MRulesJmxNameRegistrationStrategy() |
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 . |
MRuleExecutionSetManagementBean |
getMBean(MRuleExecutionSetMetadata metadata) |
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 metadata,
MBeanServer server)
Unregisters ruleset with this metadata from provided MBean server
|
getDefaultMBeanServer, isRegistered, isRegistered, register, unregister
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 metadata, MBeanServer server)
MRulesJmxRegistrationStrategy
unregister
in interface MRulesJmxRegistrationStrategy
unregister
in class AbstractMRulesJmxRegistrationStrategy
public MRuleExecutionSetManagementBean getMBean(MRuleExecutionSetMetadata metadata)
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
.