com.caucho.config.j2ee
Class JavaeeInjectionHandler

java.lang.Object
  extended by com.caucho.config.inject.InjectionPointHandler
      extended by com.caucho.config.j2ee.JavaeeInjectionHandler
Direct Known Subclasses:
DataSourceDefinitionHandler, EjbHandler, PersistenceContextHandler, PersistenceUnitHandler, ResourceHandler

public abstract class JavaeeInjectionHandler
extends InjectionPointHandler

Common JavaEE injection handler


Constructor Summary
protected JavaeeInjectionHandler(InjectManager manager)
           
 
Method Summary
protected  Bean<?> bind(java.lang.String location, java.lang.Class<?> type, java.lang.annotation.Annotation... qualifiers)
           
protected  Bean<?> bind(java.lang.String location, java.lang.Class<?> type, java.lang.String name)
           
protected  void bindJndi(java.lang.reflect.Field field, ValueGenerator gen)
           
protected  void bindJndi(java.lang.reflect.Method method, ValueGenerator gen)
           
protected  void bindJndi(java.lang.String name, ValueGenerator gen, java.lang.String fullJndiName)
           
protected  java.lang.String getLocation(java.lang.reflect.Field javaField)
           
protected  java.lang.String getLocation(java.lang.reflect.Method javaMethod)
           
protected  InjectManager getManager()
           
 
Methods inherited from class com.caucho.config.inject.InjectionPointHandler
introspectField, introspectMethod, introspectType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaeeInjectionHandler

protected JavaeeInjectionHandler(InjectManager manager)
Method Detail

getManager

protected InjectManager getManager()

bind

protected Bean<?> bind(java.lang.String location,
                       java.lang.Class<?> type,
                       java.lang.String name)

bind

protected Bean<?> bind(java.lang.String location,
                       java.lang.Class<?> type,
                       java.lang.annotation.Annotation... qualifiers)

bindJndi

protected void bindJndi(java.lang.String name,
                        ValueGenerator gen,
                        java.lang.String fullJndiName)

bindJndi

protected void bindJndi(java.lang.reflect.Field field,
                        ValueGenerator gen)

bindJndi

protected void bindJndi(java.lang.reflect.Method method,
                        ValueGenerator gen)

getLocation

protected java.lang.String getLocation(java.lang.reflect.Field javaField)

getLocation

protected java.lang.String getLocation(java.lang.reflect.Method javaMethod)