Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » ejb » plugins » [javadoc | source]
org.jboss.ejb.plugins
public class: MetricsInterceptor [javadoc | source]
java.lang.Object
   org.jboss.ejb.plugins.AbstractInterceptor
      org.jboss.ejb.plugins.MetricsInterceptor

All Implemented Interfaces:
    MetricsConstants, Interceptor

MetricsInterceptor collects data from the bean invocation call and publishes them on a JMS topic (bound to topic/metrics in the name service).
Fields inherited from org.jboss.ejb.plugins.AbstractInterceptor:
nextInterceptor,  log,  container
Method from org.jboss.ejb.plugins.MetricsInterceptor Summary:
create,   destroy,   invoke,   invokeHome,   setContainer
Methods from org.jboss.ejb.plugins.AbstractInterceptor:
create,   destroy,   getContainer,   getNext,   invoke,   invokeHome,   isAppException,   setContainer,   setNext,   start,   stop
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ejb.plugins.MetricsInterceptor Detail:
 public  void create() 
    Starts the JMS publisher thread.
 public  void destroy() 
    Kills the publisher thread.
 public Object invoke(Invocation mi) throws Exception 
 public Object invokeHome(Invocation mi) throws Exception 
 public  void setContainer(Container container) 
    Stores the container reference and the application and bean JNDI names.