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()
Construct outside the scope of an HTTP request.
|
Object |
construct(HttpRequest request,
HttpResponse response)
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 request,
HttpResponse response)
Create an argument list inside the scope of an HTTP request.
|
public CdiConstructorInjector(Type type, javax.enterprise.inject.spi.BeanManager manager)
public Object construct()
ConstructorInjector
construct
in interface ConstructorInjector
public Object construct(HttpRequest request, HttpResponse response) throws Failure, javax.ws.rs.WebApplicationException, ApplicationException
ConstructorInjector
construct
in interface ConstructorInjector
request
- http requestresponse
- http responseFailure
- if failure occurredjavax.ws.rs.WebApplicationException
- if application exception occurredApplicationException
- if application exception occurredpublic Object[] injectableArguments()
ConstructorInjector
injectableArguments
in interface ConstructorInjector
public Object[] injectableArguments(HttpRequest request, HttpResponse response) throws Failure
ConstructorInjector
injectableArguments
in interface ConstructorInjector
request
- http requestresponse
- http responseFailure
- if failure occurredCopyright © 2019 JBoss by Red Hat. All rights reserved.