Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.resteasy.cdi.events;
 
 
 import  javax.enterprise.event.Event;

Author(s):
Ron Sigal
Version:
$Revision: 1.1 $ Copyright Jul 23, 2012
public class BookReaderInterceptor implements ReaderInterceptor
   @Inject private Logger log;
   @Override
   {
      .info("*** Intercepting call in BookReaderInterceptor.read()");
      .info("BookReaderInterceptor firing readInterceptEvent");
      .fire("readInterceptEvent");
      Object result = context.proceed();
      .info("*** Back from intercepting call in BookReaderInterceptor.read()");
      return result;
   }
New to GrepCode? Check out our FAQ X