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, WebApplicationException, ApplicationException
ConstructorInjector
construct
in interface ConstructorInjector
Failure
WebApplicationException
ApplicationException
public Object[] injectableArguments()
ConstructorInjector
injectableArguments
in interface ConstructorInjector
public Object[] injectableArguments(HttpRequest request, HttpResponse response) throws Failure
ConstructorInjector
injectableArguments
in interface ConstructorInjector
Failure
Copyright © 2015. All Rights Reserved.