public abstract class AbstractMRulesJmxRegistrationStrategy extends Object implements MRulesJmxRegistrationStrategy
MRulesJmxRegistrationStrategy
implementations.Constructor and Description |
---|
AbstractMRulesJmxRegistrationStrategy() |
Modifier and Type | Method and Description |
---|---|
MBeanServer |
getDefaultMBeanServer() |
protected abstract ObjectName |
getObjectName(MRuleExecutionSetMetadata metadata)
Depending on its metadata, the ruleset will be registered with this ObjectName in the JMX bean.
|
boolean |
isRegistered(MRuleExecutionSetMetadata metadata) |
boolean |
isRegistered(MRuleExecutionSetMetadata metadata,
MBeanServer server) |
protected abstract boolean |
isRegistered(ObjectName mbeanName,
MBeanServer server) |
boolean |
register(MRuleExecutionSetMetadata metadata)
Registers ruleset with this metadata in default 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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJMXRecorderBuilder, register
public AbstractMRulesJmxRegistrationStrategy()
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 unregister(MRuleExecutionSetMetadata metadata)
MRulesJmxRegistrationStrategy
unregister
in interface MRulesJmxRegistrationStrategy
public boolean unregister(MRuleExecutionSetMetadata metadata, MBeanServer server)
MRulesJmxRegistrationStrategy
unregister
in interface MRulesJmxRegistrationStrategy
protected abstract ObjectName getObjectName(MRuleExecutionSetMetadata metadata)
metadata
- protected abstract boolean isRegistered(ObjectName mbeanName, MBeanServer server)