Package org.jboss.resteasy.cdi
Class JaxrsInjectionTarget<T>
java.lang.Object
org.jboss.resteasy.cdi.JaxrsInjectionTarget<T>
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.InjectionTarget<T>
,jakarta.enterprise.inject.spi.Producer<T>
public class JaxrsInjectionTarget<T>
extends Object
implements jakarta.enterprise.inject.spi.InjectionTarget<T>
This implementation of InjectionTarget is a wrapper that allows JAX-RS
property injection to be performed just after CDI injection.
- Author:
- Jozef Hartinger
-
Constructor Summary
ConstructorDescriptionJaxrsInjectionTarget
(jakarta.enterprise.inject.spi.InjectionTarget<T> delegate, Class<T> clazz) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Set<jakarta.enterprise.inject.spi.InjectionPoint>
void
void
postConstruct
(T instance) void
preDestroy
(T instance)
-
Constructor Details
-
JaxrsInjectionTarget
-
-
Method Details
-
inject
- Specified by:
inject
in interfacejakarta.enterprise.inject.spi.InjectionTarget<T>
-
postConstruct
- Specified by:
postConstruct
in interfacejakarta.enterprise.inject.spi.InjectionTarget<T>
-
preDestroy
- Specified by:
preDestroy
in interfacejakarta.enterprise.inject.spi.InjectionTarget<T>
-
dispose
- Specified by:
dispose
in interfacejakarta.enterprise.inject.spi.Producer<T>
-
getInjectionPoints
- Specified by:
getInjectionPoints
in interfacejakarta.enterprise.inject.spi.Producer<T>
-
produce
- Specified by:
produce
in interfacejakarta.enterprise.inject.spi.Producer<T>
-