|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.resteasy.cdi.CdiConstructorInjector
public class CdiConstructorInjector
This ConstructorInjector implementation uses CDI's BeanManager to obtain a contextual instance of a bean.
Constructor Summary | |
---|---|
CdiConstructorInjector(Type type,
javax.enterprise.inject.spi.BeanManager manager)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CdiConstructorInjector(Type type, javax.enterprise.inject.spi.BeanManager manager)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |