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 UpperBoundDecorator<T extends HierarchyHolder<? extends Primate>> implements UpperBoundTypedResourceIntf<T>
   @Inject private Logger log;
   
   @Inject
   public UpperBoundDecorator(@Delegate UpperBoundTypedResource<T> resource)
//   public UpperBoundDecorator(@Delegate @ResourceBinding UpperBoundTypedResource<T> resource)
   {
      this. = resource;
      ..println("UpperBoundDecorator got delegate: " + resource);
   }
   
   @Override
   public Response execute()
   {
      .info("entering UpperBoundDecorator.execute()");
      .info("delegate: " + );
      .info("type argument: " + .getTypeArgument());
      Response response = .execute();
      .info("leaving UpperBoundDecorator.execute()");
      return response;
   }
New to GrepCode? Check out our FAQ X