org.apache.openejb.client
Class ClientInjectionProcessor<T>

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

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


Constructor Summary
ClientInjectionProcessor(java.lang.Class<? extends T> beanClass, java.util.List<Injection> injections, java.util.List<CallbackMetaData> postConstructMethods, java.util.List<CallbackMetaData> preDestroyMethods, javax.naming.Context context)
           
 
Method Summary
 void allowStatic()
           
 T createInstance()
           
 java.lang.reflect.Field findField(java.lang.Class typeClass, java.lang.String propertyName, java.lang.Object propertyValue)
           
 java.lang.reflect.Method findSetter(java.lang.Class typeClass, java.lang.String propertyName, java.lang.Object propertyValue)
           
 T getInstance()
           
 void postConstruct()
           
 void preDestroy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientInjectionProcessor

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

allowStatic

public void allowStatic()

createInstance

public T createInstance()
                 throws java.lang.Exception
Throws:
java.lang.Exception

getInstance

public T getInstance()

postConstruct

public void postConstruct()
                   throws java.lang.Exception
Throws:
java.lang.Exception

preDestroy

public void preDestroy()

findSetter

public java.lang.reflect.Method findSetter(java.lang.Class typeClass,
                                           java.lang.String propertyName,
                                           java.lang.Object propertyValue)

findField

public java.lang.reflect.Field findField(java.lang.Class typeClass,
                                         java.lang.String propertyName,
                                         java.lang.Object propertyValue)


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