org.apache.webbeans.portable.creation
Class InjectionTargetProducer<T>
java.lang.Object
org.apache.webbeans.portable.creation.AbstractProducer<T>
org.apache.webbeans.portable.creation.InjectionTargetProducer<T>
- Type Parameters:
T - bean type info
- All Implemented Interfaces:
- InjectionTarget<T>, Producer<T>
public class InjectionTargetProducer<T>
- extends AbstractProducer<T>
- implements InjectionTarget<T>
InjectionTargetProducer implementation.
- Version:
- $Rev: 952250 $ $Date: 2010-06-07 16:39:41 +0200 (Mo, 07 Jun 2010) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InjectionTargetProducer
public InjectionTargetProducer(InjectionTargetBean<T> bean)
- Creates a new injection target producer.
- Parameters:
bean - injection target bean
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>
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.