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)
PropertyInjector
inject
in interface PropertyInjector
target
- target objectunwrapAsync
- unwrap asyncCompletionStage
public CompletionStage<Void> inject(HttpRequest request, HttpResponse response, Object target, boolean unwrapAsync) throws Failure, javax.ws.rs.WebApplicationException, ApplicationException
PropertyInjector
inject
in interface PropertyInjector
request
- http requestresponse
- http responsetarget
- target objectunwrapAsync
- unwrap asyncCompletionStage
Failure
- if application failure occurredjavax.ws.rs.WebApplicationException
- if application exception occurredApplicationException
Copyright © 2019 JBoss by Red Hat. All rights reserved.