public class CdiConstructorInjector extends Object implements ConstructorInjector
| Constructor and Description |
|---|
CdiConstructorInjector(Type type,
javax.enterprise.inject.spi.BeanManager manager) |
| Modifier and Type | Method and Description |
|---|---|
Object |
construct(boolean unwrapAsync)
Construct outside the scope of an HTTP request.
|
Object |
construct(HttpRequest request,
HttpResponse response,
boolean unwrapAsync)
Construct inside the scope of an HTTP request.
|
Object |
injectableArguments(boolean unwrapAsync)
Create an arguments list from injectable tings outside the scope of an HTTP request.
|
Object |
injectableArguments(HttpRequest request,
HttpResponse response,
boolean unwrapAsync)
Create an argument list inside the scope of an HTTP request.
|
public CdiConstructorInjector(Type type, javax.enterprise.inject.spi.BeanManager manager)
public Object construct(boolean unwrapAsync)
ConstructorInjectorconstruct in interface ConstructorInjectorunwrapAsync - unwrap asyncpublic Object construct(HttpRequest request, HttpResponse response, boolean unwrapAsync) throws Failure, javax.ws.rs.WebApplicationException, ApplicationException
ConstructorInjectorconstruct in interface ConstructorInjectorrequest - http requestresponse - http responseunwrapAsync - unwrap asyncFailure - if failure occurredjavax.ws.rs.WebApplicationException - if application exception occurredApplicationException - if application exception occurredpublic Object injectableArguments(boolean unwrapAsync)
ConstructorInjectorinjectableArguments in interface ConstructorInjectorunwrapAsync - unwrap asyncpublic Object injectableArguments(HttpRequest request, HttpResponse response, boolean unwrapAsync) throws Failure
ConstructorInjectorinjectableArguments in interface ConstructorInjectorrequest - http requestresponse - http responseunwrapAsync - unwrap asyncFailure - if failure occurredCopyright © 2020 JBoss by Red Hat. All rights reserved.