public class CdiPropertyInjector extends Object implements PropertyInjector
| Constructor and Description |
|---|
CdiPropertyInjector(PropertyInjector delegate,
Class<?> clazz,
Map<Class<?>,Type> sessionBeanInterface,
javax.enterprise.inject.spi.BeanManager manager) |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Void> |
inject(HttpRequest request,
HttpResponse response,
Object target,
boolean unwrapAsync)
Inject values into annotated properties (fields/setter methods) of the target object.
|
CompletionStage<Void> |
inject(Object target,
boolean unwrapAsync)
Inject values into annotated properties (fields/setter methods) of the target object.
|
String |
toString() |
public CdiPropertyInjector(PropertyInjector delegate, Class<?> clazz, Map<Class<?>,Type> sessionBeanInterface, javax.enterprise.inject.spi.BeanManager manager)
public CompletionStage<Void> inject(Object target, boolean unwrapAsync)
PropertyInjectorinject in interface PropertyInjectortarget - target objectunwrapAsync - unwrap asyncCompletionStagepublic CompletionStage<Void> inject(HttpRequest request, HttpResponse response, Object target, boolean unwrapAsync) throws Failure, javax.ws.rs.WebApplicationException, ApplicationException
PropertyInjectorinject in interface PropertyInjectorrequest - http requestresponse - http responsetarget - target objectunwrapAsync - unwrap asyncCompletionStageFailure - if application failure occurredjavax.ws.rs.WebApplicationException - if application exception occurredApplicationExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.