org.apache.openejb
Class InjectionProcessor<T>

java.lang.Object
  extended by org.apache.openejb.InjectionProcessor<T>

public class InjectionProcessor<T>
extends Object


Constructor Summary
InjectionProcessor(Class<? extends T> beanClass, List<Injection> injections, Context context)
           
InjectionProcessor(Class<? extends T> beanClass, List<Injection> injections, List<Method> postConstructMethods, List<Method> preDestroyMethods, Context context)
           
InjectionProcessor(T suppliedInstance, List<Injection> injections, Context context)
           
 
Method Summary
 T createInstance()
           
 T getInstance()
           
 void postConstruct()
           
 void preDestroy()
           
 void setProperty(String name, Object value)
           
static Context unwrap(Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InjectionProcessor

public InjectionProcessor(T suppliedInstance,
                          List<Injection> injections,
                          Context context)

InjectionProcessor

public InjectionProcessor(Class<? extends T> beanClass,
                          List<Injection> injections,
                          Context context)

InjectionProcessor

public InjectionProcessor(Class<? extends T> beanClass,
                          List<Injection> injections,
                          List<Method> postConstructMethods,
                          List<Method> preDestroyMethods,
                          Context context)
Method Detail

setProperty

public void setProperty(String name,
                        Object value)

createInstance

public T createInstance()
                 throws OpenEJBException
Throws:
OpenEJBException

getInstance

public T getInstance()

postConstruct

public void postConstruct()
                   throws OpenEJBException
Throws:
OpenEJBException

preDestroy

public void preDestroy()

unwrap

public static Context unwrap(Context context)


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.