org.jboss.resteasy.cdi
Class NoopPropertyInjector

java.lang.Object
  extended by org.jboss.resteasy.cdi.NoopPropertyInjector
All Implemented Interfaces:
PropertyInjector

public class NoopPropertyInjector
extends java.lang.Object
implements PropertyInjector

This implementation of PropertyInjector does not do anything in order to prevent double JAX-RS property injection.

Author:
Jozef Hartinger
See Also:
CdiInjectorFactory.createPropertyInjector(Class)

Constructor Summary
NoopPropertyInjector()
           
 
Method Summary
 void inject(HttpRequest request, HttpResponse response, java.lang.Object target)
          Inject values into annotated properties (fields/setter methods) of the target object.
 void inject(java.lang.Object target)
          Inject values into annotated properties (fields/setter methods) of the target object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopPropertyInjector

public NoopPropertyInjector()
Method Detail

inject

public void inject(java.lang.Object target)
Description copied from interface: PropertyInjector
Inject values into annotated properties (fields/setter methods) of the target object. This method should only be used outside the scope of an HTTP request.

Specified by:
inject in interface PropertyInjector

inject

public void inject(HttpRequest request,
                   HttpResponse response,
                   java.lang.Object target)
            throws Failure,
                   WebApplicationException,
                   ApplicationException
Description copied from interface: PropertyInjector
Inject values into annotated properties (fields/setter methods) of the target object. This method should only be used inside the scope of an HTTP request.

Specified by:
inject in interface PropertyInjector
Throws:
Failure
WebApplicationException
ApplicationException


Copyright © 2010. All Rights Reserved.