Class ConstructorInjectorImpl
java.lang.Object
org.jboss.resteasy.core.ConstructorInjectorImpl
- All Implemented Interfaces:
ConstructorInjector
- Version:
- $Revision: 1 $
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructorInjectorImpl(Constructor constructor, ResteasyProviderFactory factory) ConstructorInjectorImpl(ResourceConstructor constructor, ResteasyProviderFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionconstruct outside the scope of an HTTP request.construct(HttpRequest request, HttpResponse httpResponse) construct inside the scope of an HTTP request.Object[]Create an arguments list from injectable tings outside the scope of an HTTP request.Object[]injectableArguments(HttpRequest input, HttpResponse response) Create an argument list inside the scope of an HTTP request.
-
Field Details
-
constructor
-
params
-
-
Constructor Details
-
ConstructorInjectorImpl
-
ConstructorInjectorImpl
-
-
Method Details
-
injectableArguments
Description copied from interface:ConstructorInjectorCreate an argument list inside the scope of an HTTP request. Useful in cases where the resource factory wants to allocate the object itself, but wants resteasy to populate the arguments- Specified by:
injectableArgumentsin interfaceConstructorInjector- Parameters:
input-response-- Returns:
-
injectableArguments
Description copied from interface:ConstructorInjectorCreate an arguments list from injectable tings outside the scope of an HTTP request. Useful for singleton factories in cases where the resource factory wants to allocate the object itself, but wants resteasy to populate the arguments- Specified by:
injectableArgumentsin interfaceConstructorInjector- Returns:
-
construct
public Object construct(HttpRequest request, HttpResponse httpResponse) throws Failure, ApplicationException, javax.ws.rs.WebApplicationException Description copied from interface:ConstructorInjectorconstruct inside the scope of an HTTP request.- Specified by:
constructin interfaceConstructorInjector- Parameters:
request-httpResponse-- Returns:
- Throws:
FailureApplicationExceptionjavax.ws.rs.WebApplicationException
-
construct
Description copied from interface:ConstructorInjectorconstruct outside the scope of an HTTP request. Useful for singleton factories- Specified by:
constructin interfaceConstructorInjector- Returns:
-