|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jboss.ejb.plugins.AbstractInterceptor | +--org.jboss.ejb.plugins.MetricsInterceptor
MetricsInterceptor is used for gathering data from the container for admin interface.
Fields inherited from class org.jboss.ejb.plugins.AbstractInterceptor |
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 | |
Container |
getContainer()
|
void |
init()
|
java.lang.Object |
invoke(MethodInvocation mi)
|
java.lang.Object |
invokeHome(MethodInvocation mi)
|
void |
setContainer(Container container)
This callback is set by the container so that the plugin may access it |
Methods inherited from class org.jboss.ejb.plugins.AbstractInterceptor |
destroy, getNext, 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)
ContainerPlugin
setContainer
in class AbstractInterceptor
org.jboss.ejb.ContainerPlugin
con
- the container using this pluginpublic Container getContainer()
getContainer
in class AbstractInterceptor
public java.lang.Object invokeHome(MethodInvocation mi) throws java.lang.Exception
invokeHome
in class AbstractInterceptor
public java.lang.Object invoke(MethodInvocation mi) throws java.lang.Exception
invoke
in class AbstractInterceptor
public void init()
init
in class AbstractInterceptor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |