|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.ejb.plugins.AbstractInterceptor org.jboss.ejb.plugins.MetricsInterceptor
public class MetricsInterceptor
MetricsInterceptor collects data from the bean invocation call and publishes them on a JMS topic (bound to topic/metrics in the name service).
Field Summary |
---|
Fields inherited from class org.jboss.ejb.plugins.AbstractInterceptor |
---|
container, log, nextInterceptor |
Fields inherited from interface org.jboss.monitor.MetricsConstants |
---|
ACTIVITY, APPLICATION, BEAN, BEANCACHE_METRICS, CHECKPOINT, INVOCATION_METRICS, MEMORY_MONITOR, METHOD, PRIMARY_KEY, SYSTEM_METRICS, THREAD_MONITOR, TIME, TYPE |
Constructor Summary | |
---|---|
MetricsInterceptor()
|
Method Summary | |
---|---|
void |
create()
Starts the JMS publisher thread. |
void |
destroy()
Kills the publisher thread. |
Object |
invoke(Invocation mi)
??? |
Object |
invokeHome(Invocation mi)
??? |
void |
setContainer(Container container)
Stores the container reference and the application and bean JNDI names. |
Methods inherited from class org.jboss.ejb.plugins.AbstractInterceptor |
---|
getContainer, getNext, isAppException, setNext, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetricsInterceptor()
Method Detail |
---|
public void setContainer(Container container)
setContainer
in interface ContainerPlugin
setContainer
in class AbstractInterceptor
container
- set by the container initialization codepublic Object invokeHome(Invocation mi) throws Exception
Interceptor
invokeHome
in interface Interceptor
invokeHome
in class AbstractInterceptor
mi
- ???
Exception
- ???public Object invoke(Invocation mi) throws Exception
Interceptor
invoke
in interface Interceptor
invoke
in class AbstractInterceptor
mi
- ???
Exception
- ???public void create()
create
in interface org.jboss.system.Service
create
in class AbstractInterceptor
public void destroy()
destroy
in interface org.jboss.system.Service
destroy
in class AbstractInterceptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |