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
See also:
https://community.jboss.org/message/784561.784561
@Decorator
public abstract class LowerBoundDecorator<T extends HierarchyHolder<? super Primate>> implements LowerBoundTypedResourceIntf<T>
   @Inject private Logger log;
   
   @Inject
   public LowerBoundDecorator(@Delegate LowerBoundTypedResource<T> resource)
//   public LowerBoundDecorator(@Delegate @ResourceBinding LowerBoundTypedResource<T> resource)
   {
      this. = resource;
      ..println("LowerBoundDecorator got delegate: " + resource);
   }
   
   @Override
   public Response execute()
   {
      .info("entering LowerBoundDecorator.execute()");
      .info("delegate: " + );
      .info("type argument: " + .getTypeArgument());
      Response response = .execute();
      .info("leaving LowerBoundDecorator.execute()");
      return response;
   }
New to GrepCode? Check out our FAQ X