|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.program.ConfigProgram
com.caucho.config.types.ResourceGroupConfig
com.caucho.config.types.EnvEntry
public class EnvEntry
Configuration for the env-entry pattern.
| Constructor Summary | |
|---|---|
EnvEntry()
|
|
| Method Summary | ||
|---|---|---|
void |
deploy()
|
|
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 |
|
java.lang.Object |
getValue()
|
|
void |
init()
Gets the env-entry-value |
|
|
inject(T bean,
CreationalContext<T> env)
Configures the bean using the current program. |
|
void |
setEnvEntryName(java.lang.String name)
Sets the env-entry-name |
|
void |
setEnvEntryType(java.lang.Class<?> type)
Sets the env-entry-type |
|
void |
setEnvEntryValue(RawString value)
Sets the env-entry-value |
|
void |
setId(java.lang.String id)
|
|
java.lang.String |
toString()
|
|
void |
validate()
Validates the env-entry, i.e. |
|
| Methods inherited from class com.caucho.config.types.ResourceGroupConfig |
|---|
addInjectionTarget, createObject, error, getJndiClassLoader, getLookupName, getProgram, getProgram, inferTypeFromInjection, isProgram, setConfigLocation, setDefaultInjectionClass, setDescription, setJndiClassLoader, setLookupName, setProgram |
| 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 |
| Constructor Detail |
|---|
public EnvEntry()
| Method Detail |
|---|
public void setId(java.lang.String id)
setId in class ResourceGroupConfigpublic void setEnvEntryName(java.lang.String name)
public java.lang.String getEnvEntryName()
public void setEnvEntryType(java.lang.Class<?> type)
public java.lang.Class<?> getEnvEntryType()
public void setEnvEntryValue(RawString value)
public java.lang.String getEnvEntryValue()
@PostConstruct
public void init()
throws java.lang.Exception
init in class ResourceGroupConfigjava.lang.Exception
public <T> void inject(T bean,
CreationalContext<T> env)
inject in class ResourceGroupConfigbean - the bean to configureenv - the Config environmentpublic java.lang.Object getValue()
getValue in class ResourceGroupConfigpublic void deploy()
deploy in class ResourceGroupConfig
public void validate()
throws ConfigException
validate in interface ValidatorConfigExceptionpublic java.lang.String toString()
toString in class ResourceGroupConfig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||