Package org.jboss.resteasy.cdi
Class CdiConstructorInjector
java.lang.Object
org.jboss.resteasy.cdi.CdiConstructorInjector
- All Implemented Interfaces:
ConstructorInjector
This ConstructorInjector implementation uses CDI's BeanManager to obtain
a contextual instance of a bean.
- Author:
- Jozef Hartinger
-
Constructor Summary
ConstructorsConstructorDescriptionCdiConstructorInjector(Type type, jakarta.enterprise.inject.spi.BeanManager manager) -
Method Summary
Modifier and TypeMethodDescriptionconstruct(boolean unwrapAsync) construct(HttpRequest request, HttpResponse response, boolean unwrapAsync) injectableArguments(boolean unwrapAsync) injectableArguments(HttpRequest request, HttpResponse response, boolean unwrapAsync)
-
Constructor Details
-
CdiConstructorInjector
-
-
Method Details
-
construct
- Specified by:
constructin interfaceConstructorInjector
-
construct
public Object construct(HttpRequest request, HttpResponse response, boolean unwrapAsync) throws Failure, jakarta.ws.rs.WebApplicationException, ApplicationException - Specified by:
constructin interfaceConstructorInjector- Throws:
Failurejakarta.ws.rs.WebApplicationExceptionApplicationException
-
injectableArguments
- Specified by:
injectableArgumentsin interfaceConstructorInjector
-
injectableArguments
public Object injectableArguments(HttpRequest request, HttpResponse response, boolean unwrapAsync) throws Failure - Specified by:
injectableArgumentsin interfaceConstructorInjector- Throws:
Failure
-