public class ConstructorInjectorImpl extends Object implements ConstructorInjector
Modifier and Type | Field and Description |
---|---|
protected Constructor |
constructor |
protected ValueInjector[] |
params |
Constructor and Description |
---|
ConstructorInjectorImpl(Constructor constructor,
ResteasyProviderFactory factory) |
ConstructorInjectorImpl(ResourceConstructor constructor,
ResteasyProviderFactory factory) |
Modifier and Type | Method and Description |
---|---|
Object |
construct()
construct outside the scope of an HTTP request.
|
Object |
construct(HttpRequest request,
HttpResponse httpResponse)
construct inside the scope of an HTTP request.
|
Object[] |
injectableArguments()
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.
|
protected Constructor constructor
protected ValueInjector[] params
public ConstructorInjectorImpl(ResourceConstructor constructor, ResteasyProviderFactory factory)
public ConstructorInjectorImpl(Constructor constructor, ResteasyProviderFactory factory)
public Object[] injectableArguments(HttpRequest input, HttpResponse response)
ConstructorInjector
injectableArguments
in interface ConstructorInjector
public Object[] injectableArguments()
ConstructorInjector
injectableArguments
in interface ConstructorInjector
public Object construct(HttpRequest request, HttpResponse httpResponse) throws Failure, ApplicationException, WebApplicationException
ConstructorInjector
construct
in interface ConstructorInjector
Failure
ApplicationException
WebApplicationException
public Object construct()
ConstructorInjector
construct
in interface ConstructorInjector
Copyright © 2017 JBoss by Red Hat. All rights reserved.