com.caucho.config.types
Class EnvEntry

java.lang.Object
  extended by com.caucho.config.program.ConfigProgram
      extended by com.caucho.config.types.ResourceGroupConfig
          extended by com.caucho.config.types.EnvEntry
All Implemented Interfaces:
Validator

public class EnvEntry
extends ResourceGroupConfig
implements Validator

Configuration for the env-entry pattern.


Constructor Summary
EnvEntry()
           
 
Method Summary
 java.lang.String getEnvEntryName()
          Gets the env-entry-name
 java.lang.Class getEnvEntryType()
          Gets the env-entry-type
 java.lang.String getEnvEntryValue()
          Gets the env-entry-value
 void init()
          Gets the env-entry-value
 void setEnvEntryName(java.lang.String name)
          Sets the env-entry-name
 void setEnvEntryType(java.lang.Class type)
          Sets the env-entry-type
 void setEnvEntryValue(java.lang.String value)
          Sets the env-entry-value
 void setId(java.lang.String id)
           
 java.lang.String toString()
           
 void validate()
          Validates the resource-ref, i.e.
 
Methods inherited from class com.caucho.config.types.ResourceGroupConfig
addInjectionTarget, error, inject, setConfigLocation, setDefaultInjectionClass, setDescription
 
Methods inherited from class com.caucho.config.program.ConfigProgram
addProgram, configure, configure, configure, configure, configure, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnvEntry

public EnvEntry()
Method Detail

setId

public void setId(java.lang.String id)
Overrides:
setId in class ResourceGroupConfig

setEnvEntryName

public void setEnvEntryName(java.lang.String name)
Sets the env-entry-name


getEnvEntryName

public java.lang.String getEnvEntryName()
Gets the env-entry-name


setEnvEntryType

public void setEnvEntryType(java.lang.Class type)
Sets the env-entry-type


getEnvEntryType

public java.lang.Class getEnvEntryType()
Gets the env-entry-type


setEnvEntryValue

public void setEnvEntryValue(java.lang.String value)
Sets the env-entry-value


getEnvEntryValue

public java.lang.String getEnvEntryValue()
Gets the env-entry-value


init

public void init()
          throws java.lang.Exception
Gets the env-entry-value

Overrides:
init in class ResourceGroupConfig
Throws:
java.lang.Exception

validate

public void validate()
              throws ConfigException
Validates the resource-ref, i.e. checking that it exists in JNDI.

Specified by:
validate in interface Validator
Throws:
ConfigException

toString

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