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:
- InjectionTarget<T>, Producer<T>
- Direct Known Subclasses:
- AbstractDecoratorInjectionTarget, AbstractEjbInjectionTarget, ConversationProducer
public class InjectionTargetImpl<T>
- extends AbstractProducer<T>
- implements InjectionTarget<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
webBeansContext
protected final WebBeansContext webBeansContext
annotatedType
protected final AnnotatedType<T> annotatedType
constructor
protected volatile AnnotatedConstructor<T> constructor
InjectionTargetImpl
public InjectionTargetImpl(AnnotatedType<T> annotatedType,
Set<InjectionPoint> points,
WebBeansContext webBeansContext,
List<AnnotatedMethod<?>> postConstructMethods,
List<AnnotatedMethod<?>> preDestroyMethods)
defineLifecycleInterceptors
protected void defineLifecycleInterceptors(Bean<T> bean,
AnnotatedType<T> annotatedType,
WebBeansContext webBeansContext)
- Overrides:
defineLifecycleInterceptors in class AbstractProducer<T>
produce
public T produce(Map<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,
CreationalContext<T> context)
- Specified by:
inject in interface InjectionTarget<T>
postConstruct
public void postConstruct(T instance)
- Specified by:
postConstruct in interface InjectionTarget<T>
preDestroy
public void preDestroy(T instance)
- Specified by:
preDestroy in interface InjectionTarget<T>
getConstructor
protected AnnotatedConstructor<T> getConstructor()
createConstructor
protected AnnotatedConstructor<T> createConstructor()
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.