com.caucho.config.types
Class ResourceEnvRef

java.lang.Object
  extended by com.caucho.config.types.BaseRef
      extended by com.caucho.config.types.ResourceEnvRef

public class ResourceEnvRef
extends BaseRef

Configuration for the init-param pattern.


Field Summary
 
Fields inherited from class com.caucho.config.types.BaseRef
_injectionTarget, _modulePath, _sourceEjbName
 
Constructor Summary
ResourceEnvRef()
           
ResourceEnvRef(Path modulePath, java.lang.String sourceEjbName)
           
 
Method Summary
 void initBinding(AbstractServer ejbServer)
          Initialize the resource.
 void setDescription(java.lang.String description)
          Sets the description.
 void setResourceEnvRefName(java.lang.String name)
          Sets the name
 void setResourceEnvRefType(java.lang.Class type)
          Sets the type
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.config.types.BaseRef
getFieldOrMethod, getInjectionTarget, getJavaClass, setInjectionTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceEnvRef

public ResourceEnvRef()

ResourceEnvRef

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

setDescription

public void setDescription(java.lang.String description)
Sets the description.


setResourceEnvRefName

public void setResourceEnvRefName(java.lang.String name)
Sets the name


setResourceEnvRefType

public void setResourceEnvRefType(java.lang.Class type)
Sets the type


initBinding

public void initBinding(AbstractServer ejbServer)
                 throws java.lang.Exception
Initialize the resource.

Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object