Package org.drools.core.management
Class KnowledgeBaseMonitoring
java.lang.Object
org.drools.core.management.KnowledgeBaseMonitoring
- All Implemented Interfaces:
DynamicMBean
An implementation for the KnowledgeBaseMBean
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String attributeName) getAttributes(String[] attributeNames) getId()getName()String[]longvoidsetAttribute(Attribute attribute) setAttributes(AttributeList attributes) voidvoid
-
Field Details
-
logger
protected static final transient org.slf4j.Logger logger
-
-
Constructor Details
-
KnowledgeBaseMonitoring
-
-
Method Details
-
getName
-
getGlobals
- Throws:
OpenDataException
-
getId
-
getPackages
-
getSessionCount
public long getSessionCount() -
startInternalMBeans
public void startInternalMBeans() -
stopInternalMBeans
public void stopInternalMBeans() -
getAttribute
public Object getAttribute(String attributeName) throws AttributeNotFoundException, MBeanException, ReflectionException - Specified by:
getAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionMBeanExceptionReflectionException
-
getAttributes
- Specified by:
getAttributesin interfaceDynamicMBean
-
getMBeanInfo
- Specified by:
getMBeanInfoin interfaceDynamicMBean
-
invoke
public Object invoke(String operationName, Object[] params, String[] signature) throws MBeanException, ReflectionException - Specified by:
invokein interfaceDynamicMBean- Throws:
MBeanExceptionReflectionException
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException - Specified by:
setAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionException
-
setAttributes
- Specified by:
setAttributesin interfaceDynamicMBean
-