org.drools.management
Class KnowledgeBaseMonitoring

java.lang.Object
  extended by org.drools.management.KnowledgeBaseMonitoring
All Implemented Interfaces:
DynamicMBean

public class KnowledgeBaseMonitoring
extends Object
implements DynamicMBean

An implementation for the KnowledgeBaseMBean


Constructor Summary
KnowledgeBaseMonitoring(ReteooRuleBase kbase)
           
 
Method Summary
 Object getAttribute(String attributeName)
           
 AttributeList getAttributes(String[] attributeNames)
           
 TabularData getGlobals()
           
 String getId()
           
 MBeanInfo getMBeanInfo()
           
 ObjectName getName()
           
 String[] getPackages()
           
 long getSessionCount()
           
 Object invoke(String operationName, Object[] params, String[] signature)
           
 void setAttribute(Attribute attribute)
           
 AttributeList setAttributes(AttributeList attributes)
           
 void startInternalMBeans()
           
 void stopInternalMBeans()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KnowledgeBaseMonitoring

public KnowledgeBaseMonitoring(ReteooRuleBase kbase)
Method Detail

getName

public ObjectName getName()

getGlobals

public TabularData getGlobals()
                       throws OpenDataException
Throws:
OpenDataException

getId

public String getId()

getPackages

public String[] 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:
getAttribute in interface DynamicMBean
Throws:
AttributeNotFoundException
MBeanException
ReflectionException

getAttributes

public AttributeList getAttributes(String[] attributeNames)
Specified by:
getAttributes in interface DynamicMBean

getMBeanInfo

public MBeanInfo getMBeanInfo()
Specified by:
getMBeanInfo in interface DynamicMBean

invoke

public Object invoke(String operationName,
                     Object[] params,
                     String[] signature)
              throws MBeanException,
                     ReflectionException
Specified by:
invoke in interface DynamicMBean
Throws:
MBeanException
ReflectionException

setAttribute

public void setAttribute(Attribute attribute)
                  throws AttributeNotFoundException,
                         InvalidAttributeValueException,
                         MBeanException,
                         ReflectionException
Specified by:
setAttribute in interface DynamicMBean
Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException

setAttributes

public AttributeList setAttributes(AttributeList attributes)
Specified by:
setAttributes in interface DynamicMBean


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.