Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.resteasy.cdi.generic;
 
 
 import  javax.decorator.Decorator;
 import  javax.decorator.Delegate;

Author(s):
Ron Sigal
Version:
$Revision: 1.1 $ Copyright Dec 15, 2012
@Decorator
public abstract class ConcreteDecorator implements ConcreteResourceIntf
   @Inject private Logger log;
   
   @Inject
   public ConcreteDecorator(@Delegate ConcreteResourceIntf resource)
   {
      this. = resource;
      ..println("ConcreteDecorator got delegate: " + resource);
   }
   
   @Override
   public Response execute()
   {
      .info("entering ConcreteDecorator.execute()");
      VisitList.add(.);
      Response response = .testGenerics();
      VisitList.add(.);
      .info("leaving ConcreteDecorator.execute()");
      return response;
   }
   
   @Override
   abstract public Response testDecorators();
New to GrepCode? Check out our FAQ X