|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.listeners.message.ServiceMessageCounter
public class ServiceMessageCounter
Service message counter is a MBean that displays an action-by-action breakdown of how many failed and successful messages have been processed and shows the processing time of each.
| Field Summary | |
|---|---|
static java.lang.String |
RESET_COUNTER
|
| Constructor Summary | |
|---|---|
ServiceMessageCounter(ConfigTree f_config,
java.lang.String objectName)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String key)
|
javax.management.AttributeList |
getAttributes(java.lang.String[] arg0)
|
javax.management.MBeanInfo |
getMBeanInfo()
This creates the MBeanInfo object provided. |
protected javax.management.ObjectName |
getObjectName()
|
void |
incrementTotalCount()
Increment the total message count of this service. |
java.lang.Object |
invoke(java.lang.String method,
java.lang.Object[] arg1,
java.lang.String[] arg2)
|
protected void |
registerMBean()
Register this MBean with JBoss. |
void |
resetCounter()
Reset the counters - set all the entries in the action counter hash and in the action process time hash to zero. |
void |
setAttribute(javax.management.Attribute arg0)
|
javax.management.AttributeList |
setAttributes(javax.management.AttributeList arg0)
|
protected void |
unregisterMBean()
Unregister this MBean with JBoss. |
void |
update(ActionStatusBean asb)
Update the ServiceMessageCounter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String RESET_COUNTER
| Constructor Detail |
|---|
public ServiceMessageCounter(ConfigTree f_config,
java.lang.String objectName)
f_config - config treeobjectName - The name to use as the MBean.| Method Detail |
|---|
public void incrementTotalCount()
public void resetCounter()
public javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo in interface javax.management.DynamicMBean
public java.lang.Object getAttribute(java.lang.String key)
throws javax.management.AttributeNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException
getAttribute in interface javax.management.DynamicMBeanjavax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionExceptionpublic javax.management.AttributeList getAttributes(java.lang.String[] arg0)
getAttributes in interface javax.management.DynamicMBean
public java.lang.Object invoke(java.lang.String method,
java.lang.Object[] arg1,
java.lang.String[] arg2)
throws javax.management.MBeanException,
javax.management.ReflectionException
invoke in interface javax.management.DynamicMBeanjavax.management.MBeanException
javax.management.ReflectionException
public void setAttribute(javax.management.Attribute arg0)
throws javax.management.AttributeNotFoundException,
javax.management.InvalidAttributeValueException,
javax.management.MBeanException,
javax.management.ReflectionException
setAttribute in interface javax.management.DynamicMBeanjavax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionExceptionpublic javax.management.AttributeList setAttributes(javax.management.AttributeList arg0)
setAttributes in interface javax.management.DynamicMBeanprotected void registerMBean()
protected void unregisterMBean()
public void update(ActionStatusBean asb)
asb - ActionStatusBeanprotected javax.management.ObjectName getObjectName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||