public class EnvEntry extends ResourceGroupConfig implements Validator
| Constructor and Description |
|---|
EnvEntry() |
| Modifier and Type | Method and Description |
|---|---|
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
|
<T> void |
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.
|
addInjectionTarget, createObject, error, getJndiClassLoader, getLookupName, getProgram, getProgram, inferTypeFromInjection, isProgram, setConfigLocation, setDefaultInjectionClass, setDescription, setJndiClassLoader, setLookupName, setProgramaddProgram, bind, compareTo, configure, configure, configure, create, create, create, getDeclaringClass, getName, getPriority, getQName, initpublic 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.Exceptionpublic <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 ResourceGroupConfigpublic void validate()
throws ConfigException
validate in interface ValidatorConfigExceptionpublic java.lang.String toString()
toString in class ResourceGroupConfig