org.apache.webbeans.portable
Class InjectionTargetImpl<T>
java.lang.Object
org.apache.webbeans.portable.AbstractProducer<T>
org.apache.webbeans.portable.InjectionTargetImpl<T>
- All Implemented Interfaces:
- javax.enterprise.inject.spi.InjectionTarget<T>, javax.enterprise.inject.spi.Producer<T>
- Direct Known Subclasses:
- AbstractDecoratorInjectionTarget, AbstractEjbInjectionTarget, ConversationProducer, LazyInterceptorDefinedInjectionTarget
public class InjectionTargetImpl<T>
- extends AbstractProducer<T>
- implements javax.enterprise.inject.spi.InjectionTarget<T>
|
Constructor Summary |
InjectionTargetImpl(javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
Set<javax.enterprise.inject.spi.InjectionPoint> injectionPoints,
WebBeansContext webBeansContext,
List<javax.enterprise.inject.spi.AnnotatedMethod<?>> postConstructMethods,
List<javax.enterprise.inject.spi.AnnotatedMethod<?>> preDestroyMethods)
|
| Methods inherited from class org.apache.webbeans.portable.AbstractProducer |
createInterceptorInstances, defineInterceptorStack, dispose, filterDecorators, getInjectionPoints, getInterceptorInfo, getMethodInterceptors, getProxyFactory, hasInterceptorInfo, isDelegateInjection, produce, unwrapProxyInstance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.enterprise.inject.spi.Producer |
dispose, getInjectionPoints, produce |
webBeansContext
protected final WebBeansContext webBeansContext
annotatedType
protected final javax.enterprise.inject.spi.AnnotatedType<T> annotatedType
constructor
protected volatile javax.enterprise.inject.spi.AnnotatedConstructor<T> constructor
InjectionTargetImpl
public InjectionTargetImpl(javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
Set<javax.enterprise.inject.spi.InjectionPoint> injectionPoints,
WebBeansContext webBeansContext,
List<javax.enterprise.inject.spi.AnnotatedMethod<?>> postConstructMethods,
List<javax.enterprise.inject.spi.AnnotatedMethod<?>> preDestroyMethods)
defineLifecycleInterceptors
protected void defineLifecycleInterceptors(javax.enterprise.inject.spi.Bean<T> bean,
javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
WebBeansContext webBeansContext)
- Overrides:
defineLifecycleInterceptors in class AbstractProducer<T>
produce
public T produce(Map<javax.enterprise.inject.spi.Interceptor<?>,?> interceptorInstances,
CreationalContextImpl<T> creationalContext)
- Specified by:
produce in class AbstractProducer<T>
needsProxy
protected boolean needsProxy()
- Overrides:
needsProxy in class AbstractProducer<T>
hasAroundConstruct
protected boolean hasAroundConstruct()
newInstance
protected T newInstance(CreationalContextImpl<T> creationalContext)
inject
public void inject(T instance,
javax.enterprise.context.spi.CreationalContext<T> context)
- Specified by:
inject in interface javax.enterprise.inject.spi.InjectionTarget<T>
postConstruct
public void postConstruct(T instance)
- Specified by:
postConstruct in interface javax.enterprise.inject.spi.InjectionTarget<T>
preDestroy
public void preDestroy(T instance)
- Specified by:
preDestroy in interface javax.enterprise.inject.spi.InjectionTarget<T>
getConstructor
protected javax.enterprise.inject.spi.AnnotatedConstructor<T> getConstructor()
createConstructor
protected javax.enterprise.inject.spi.AnnotatedConstructor<T> createConstructor()
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.