public class InjectionProcessor<T>
extends java.lang.Object
Constructor and Description |
---|
InjectionProcessor(java.lang.Class<? extends T> beanClass,
java.util.Collection<Injection> injections,
javax.naming.Context context) |
InjectionProcessor(java.lang.Class<? extends T> beanClass,
java.util.Collection<Injection> injections,
java.util.List<java.lang.reflect.Method> postConstructMethods,
java.util.List<java.lang.reflect.Method> preDestroyMethods,
javax.naming.Context context) |
InjectionProcessor(java.lang.Class<? extends T> beanClass,
java.util.Collection<Injection> injections,
java.util.List<java.lang.reflect.Method> postConstructMethods,
java.util.List<java.lang.reflect.Method> preDestroyMethods,
javax.naming.Context context,
java.util.Map<java.lang.String,java.lang.Object> bindings) |
InjectionProcessor(T suppliedInstance,
java.util.Collection<Injection> injections,
javax.naming.Context context) |
Modifier and Type | Method and Description |
---|---|
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) |
public InjectionProcessor(T suppliedInstance, java.util.Collection<Injection> injections, javax.naming.Context context)
public InjectionProcessor(java.lang.Class<? extends T> beanClass, java.util.Collection<Injection> injections, javax.naming.Context context)
public InjectionProcessor(java.lang.Class<? extends T> beanClass, java.util.Collection<Injection> injections, java.util.List<java.lang.reflect.Method> postConstructMethods, java.util.List<java.lang.reflect.Method> preDestroyMethods, javax.naming.Context context)
public InjectionProcessor(java.lang.Class<? extends T> beanClass, java.util.Collection<Injection> injections, java.util.List<java.lang.reflect.Method> postConstructMethods, java.util.List<java.lang.reflect.Method> preDestroyMethods, javax.naming.Context context, java.util.Map<java.lang.String,java.lang.Object> bindings)
public void setProperty(java.lang.String name, java.lang.Object value)
public T createInstance() throws OpenEJBException
OpenEJBException
public T getInstance()
public void postConstruct() throws OpenEJBException
OpenEJBException
public void preDestroy()
public static javax.naming.Context unwrap(javax.naming.Context context)