Package org.jboss.resteasy.core
Class ResourcePropertyInjector
java.lang.Object
org.jboss.resteasy.core.ResourcePropertyInjector
- All Implemented Interfaces:
PropertyInjector
- Version:
- $Revision: 1 $
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ResteasyProviderFactory
protected List<ResourcePropertyInjector.FieldInjector>
protected ResourceClass
protected List<ResourcePropertyInjector.SetterInjector>
-
Constructor Summary
ConstructorsConstructorDescriptionResourcePropertyInjector
(ResourceClass resourceClass, ResteasyProviderFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Inject values into annotated properties (fields/setter methods) of the target object.void
inject
(HttpRequest request, HttpResponse response, Object target) Inject values into annotated properties (fields/setter methods) of the target object.
-
Field Details
-
fields
-
setters
-
resourceClass
-
factory
-
-
Constructor Details
-
ResourcePropertyInjector
-
-
Method Details
-
inject
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 interfacePropertyInjector
- Throws:
Failure
-
inject
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 interfacePropertyInjector
-