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 |
---|---|
void |
inject(HttpRequest request,
HttpResponse response,
Object target)
Inject values into annotated properties (fields/setter methods) of the target object.
|
void |
inject(Object target)
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 void inject(Object target)
PropertyInjector
inject
in interface PropertyInjector
target
- target objectpublic void inject(HttpRequest request, HttpResponse response, Object target) throws Failure, javax.ws.rs.WebApplicationException, ApplicationException
PropertyInjector
inject
in interface PropertyInjector
request
- http requestresponse
- http responsetarget
- target objectFailure
- if application failure occurredjavax.ws.rs.WebApplicationException
- if application exception occurredApplicationException
Copyright © 2020 JBoss by Red Hat. All rights reserved.