public class MRulesJmxAggregateRegistrationStrategy extends Object implements MRulesJmxRegistrationStrategy
Constructor and Description |
---|
MRulesJmxAggregateRegistrationStrategy(MRulesJmxRegistrationStrategy... strategies) |
Modifier and Type | Method and Description |
---|---|
MBeanServer |
getDefaultMBeanServer() |
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 . |
MRulesJmxRegistrationStrategy[] |
getStrategies() |
boolean |
isRegistered(MRuleExecutionSetMetadata metadata) |
boolean |
isRegistered(MRuleExecutionSetMetadata metadata,
MBeanServer server) |
boolean |
register(MRuleExecutionSetMetadata metadata)
Registers ruleset with this metadata in default MBean server
|
boolean |
register(MRuleExecutionSetMetadata metadata,
MBeanServer server)
Registers ruleset with this metadata in provided MBean server
|
boolean |
unregister(MRuleExecutionSetMetadata metadata)
Unregisters ruleset with this metadata from default MBean server
|
boolean |
unregister(MRuleExecutionSetMetadata metadata,
MBeanServer server)
Unregisters ruleset with this metadata from provided MBean server
|
public MRulesJmxAggregateRegistrationStrategy(MRulesJmxRegistrationStrategy... strategies)
public MBeanServer getDefaultMBeanServer()
getDefaultMBeanServer
in interface MRulesJmxRegistrationStrategy
public boolean isRegistered(MRuleExecutionSetMetadata metadata)
isRegistered
in interface MRulesJmxRegistrationStrategy
public boolean isRegistered(MRuleExecutionSetMetadata metadata, MBeanServer server)
isRegistered
in interface MRulesJmxRegistrationStrategy
public boolean register(MRuleExecutionSetMetadata metadata)
MRulesJmxRegistrationStrategy
register
in interface MRulesJmxRegistrationStrategy
public boolean register(MRuleExecutionSetMetadata metadata, MBeanServer server)
MRulesJmxRegistrationStrategy
register
in interface MRulesJmxRegistrationStrategy
public boolean unregister(MRuleExecutionSetMetadata metadata)
MRulesJmxRegistrationStrategy
unregister
in interface MRulesJmxRegistrationStrategy
public boolean unregister(MRuleExecutionSetMetadata metadata, MBeanServer server)
MRulesJmxRegistrationStrategy
unregister
in interface MRulesJmxRegistrationStrategy
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
.getJMXRecorderBuilder
in interface MRulesJmxRegistrationStrategy
public MRulesJmxRegistrationStrategy[] getStrategies()