Interface PropertyInjector
- All Known Implementing Classes:
PropertyInjectorImpl, ResourcePropertyInjector
public interface PropertyInjector
- Version:
- $Revision: 1 $
-
Method Summary
Modifier and TypeMethodDescriptionvoidInject values into annotated properties (fields/setter methods) of the target object.voidinject(HttpRequest request, HttpResponse response, Object target) Inject values into annotated properties (fields/setter methods) of the target object.
-
Method Details
-
inject
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, Object target) throws Failure, javax.ws.rs.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:
Failurejavax.ws.rs.WebApplicationExceptionApplicationException
-