|
||||||||||
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(java.lang.Class<?> clazz,
javax.enterprise.inject.spi.BeanManager manager)
|
Method Summary | |
---|---|
java.lang.Object |
construct()
construct outside the scope of an HTTP request. |
java.lang.Object |
construct(HttpRequest request,
HttpResponse response)
construct inside the scope of an HTTP request. |
java.lang.Object[] |
injectableArguments()
Create an arguments list from injectable tings outside the scope of an HTTP request. |
java.lang.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(java.lang.Class<?> clazz, javax.enterprise.inject.spi.BeanManager manager)
Method Detail |
---|
public java.lang.Object construct()
ConstructorInjector
construct
in interface ConstructorInjector
public java.lang.Object construct(HttpRequest request, HttpResponse response) throws Failure, WebApplicationException, ApplicationException
ConstructorInjector
construct
in interface ConstructorInjector
Failure
WebApplicationException
ApplicationException
public java.lang.Object[] injectableArguments()
ConstructorInjector
injectableArguments
in interface ConstructorInjector
public java.lang.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 |