org.jboss.resteasy.spi
Interface PropertyInjector

All Known Implementing Classes:
NoopPropertyInjector, PropertyInjectorImpl

public interface PropertyInjector

Version:
$Revision: 1 $
Author:
Bill Burke

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.
 

Method Detail

inject

void inject(java.lang.Object target)
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.

Parameters:
target -

inject

void inject(HttpRequest request,
            HttpResponse response,
            java.lang.Object target)
            throws Failure,
                   WebApplicationException,
                   ApplicationException
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.

Parameters:
request -
response -
target -
Throws:
Failure
WebApplicationException
ApplicationException


Copyright © 2010. All Rights Reserved.