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

All Implemented Interfaces:
    Interceptor

An interceptor used to log all invocations. It also handles any unexpected exceptions.
Field Summary
protected  String ejbName     
protected  boolean callLogging     
Fields inherited from org.jboss.ejb.plugins.AbstractInterceptor:
nextInterceptor,  log,  container
Method from org.jboss.ejb.plugins.LogInterceptor Summary:
create,   invoke,   invokeHome
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.LogInterceptor Detail:
 public  void create() throws Exception 
 public Object invoke(Invocation invocation) throws Exception 
    This method logs the method, calls the next invoker, and handles any exception.
 public Object invokeHome(Invocation invocation) throws Exception 
    This method logs the method, calls the next invoker, and handles any exception.