com.caucho.config.types
Class BaseRef

java.lang.Object
  extended by com.caucho.config.program.ConfigProgram
      extended by com.caucho.config.types.ResourceGroupConfig
          extended by com.caucho.config.types.BaseRef
All Implemented Interfaces:
ObjectProxy, java.lang.Comparable<ConfigProgram>
Direct Known Subclasses:
EjbRef

public abstract class BaseRef
extends ResourceGroupConfig

Base configuration for ejb-ref and resource-env-ref.


Field Summary
protected  InjectionTarget _injectionTarget
           
protected  Path _modulePath
           
protected  java.lang.String _sourceEjbName
           
 
Constructor Summary
BaseRef()
           
BaseRef(Path modulePath)
           
BaseRef(Path modulePath, java.lang.String sourceEjbName)
           
 
Method Summary
 java.lang.reflect.AccessibleObject getFieldOrMethod(java.lang.Class cl, java.lang.String fieldName)
           
 InjectionTarget getInjectionTarget()
           
 java.lang.Class getJavaClass(java.lang.String className)
           
 void setInjectionTarget(InjectionTarget injectionTarget)
           
 
Methods inherited from class com.caucho.config.types.ResourceGroupConfig
addInjectionTarget, createObject, deploy, error, getJndiClassLoader, getLookupName, getProgram, getProgram, getValue, inferTypeFromInjection, init, inject, isProgram, setConfigLocation, setDefaultInjectionClass, setDescription, setId, setJndiClassLoader, setLookupName, setProgram, toString
 
Methods inherited from class com.caucho.config.program.ConfigProgram
addProgram, bind, compareTo, configure, configure, configure, create, create, create, getDeclaringClass, getName, getPriority, getQName, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_modulePath

protected final Path _modulePath

_sourceEjbName

protected java.lang.String _sourceEjbName

_injectionTarget

protected InjectionTarget _injectionTarget
Constructor Detail

BaseRef

public BaseRef()

BaseRef

public BaseRef(Path modulePath)

BaseRef

public BaseRef(Path modulePath,
               java.lang.String sourceEjbName)
Method Detail

getInjectionTarget

public InjectionTarget getInjectionTarget()

setInjectionTarget

public void setInjectionTarget(InjectionTarget injectionTarget)

getJavaClass

public java.lang.Class getJavaClass(java.lang.String className)
                             throws java.lang.Exception
Throws:
java.lang.Exception

getFieldOrMethod

public java.lang.reflect.AccessibleObject getFieldOrMethod(java.lang.Class cl,
                                                           java.lang.String fieldName)
                                                    throws java.lang.Exception
Throws:
java.lang.Exception