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

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

public class ClientInjectionProcessor<T>
extends Object


Constructor Summary
ClientInjectionProcessor(Class<? extends T> beanClass, List<Injection> injections, List<CallbackMetaData> postConstructMethods, List<CallbackMetaData> preDestroyMethods, Context context)
           
 
Method Summary
 void allowStatic()
           
 T createInstance()
           
 Field findField(Class typeClass, String propertyName, Object propertyValue)
           
 Method findSetter(Class typeClass, String propertyName, 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(Class<? extends T> beanClass,
                                List<Injection> injections,
                                List<CallbackMetaData> postConstructMethods,
                                List<CallbackMetaData> preDestroyMethods,
                                Context context)
Method Detail

allowStatic

public void allowStatic()

createInstance

public T createInstance()
                 throws Exception
Throws:
Exception

getInstance

public T getInstance()

postConstruct

public void postConstruct()
                   throws Exception
Throws:
Exception

preDestroy

public void preDestroy()

findSetter

public Method findSetter(Class typeClass,
                         String propertyName,
                         Object propertyValue)

findField

public Field findField(Class typeClass,
                       String propertyName,
                       Object propertyValue)


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