org.apache.webbeans.portable.creation
Class DefaultInjectionTargetImpl<T>

java.lang.Object
  extended by org.apache.webbeans.portable.creation.DefaultInjectionTargetImpl<T>
All Implemented Interfaces:
InjectionTarget<T>, Producer<T>

public class DefaultInjectionTargetImpl<T>
extends Object
implements InjectionTarget<T>


Constructor Summary
DefaultInjectionTargetImpl(AnnotatedType<T> annotatedType)
           
 
Method Summary
 void dispose(T instance)
           
 Set<InjectionPoint> getInjectionPoints()
           
 void inject(T instance, CreationalContext<T> ctx)
           
 void postConstruct(T instance)
           
 void preDestroy(T instance)
           
 T produce(CreationalContext<T> creationalContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultInjectionTargetImpl

public DefaultInjectionTargetImpl(AnnotatedType<T> annotatedType)
Method Detail

inject

public void inject(T instance,
                   CreationalContext<T> ctx)
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>

dispose

public void dispose(T instance)
Specified by:
dispose in interface Producer<T>

getInjectionPoints

public Set<InjectionPoint> getInjectionPoints()
Specified by:
getInjectionPoints in interface Producer<T>

produce

public T produce(CreationalContext<T> creationalContext)
Specified by:
produce in interface Producer<T>


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.