org.apache.openejb
Class InjectionProcessor<T>

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

public class InjectionProcessor<T>
extends java.lang.Object


Constructor Summary
InjectionProcessor(java.lang.Class<? extends T> beanClass, java.util.List<Injection> injections, javax.naming.Context context)
           
InjectionProcessor(java.lang.Class<? extends T> beanClass, java.util.List<Injection> injections, java.util.List<java.lang.reflect.Method> postConstructMethods, java.util.List<java.lang.reflect.Method> preDestroyMethods, javax.naming.Context context)
           
InjectionProcessor(T suppliedInstance, java.util.List<Injection> injections, javax.naming.Context context)
           
 
Method Summary
 T createInstance()
           
 T getInstance()
           
 void postConstruct()
           
 void preDestroy()
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
static javax.naming.Context unwrap(javax.naming.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,
                          java.util.List<Injection> injections,
                          javax.naming.Context context)

InjectionProcessor

public InjectionProcessor(java.lang.Class<? extends T> beanClass,
                          java.util.List<Injection> injections,
                          javax.naming.Context context)

InjectionProcessor

public InjectionProcessor(java.lang.Class<? extends T> beanClass,
                          java.util.List<Injection> injections,
                          java.util.List<java.lang.reflect.Method> postConstructMethods,
                          java.util.List<java.lang.reflect.Method> preDestroyMethods,
                          javax.naming.Context context)
Method Detail

setProperty

public void setProperty(java.lang.String name,
                        java.lang.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 javax.naming.Context unwrap(javax.naming.Context context)


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