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, setProgram
addProgram, bind, compareTo, configure, configure, configure, create, create, create, getDeclaringClass, getName, getPriority, getQName, init
public void setId(java.lang.String id)
setId
in class ResourceGroupConfig
public 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 ResourceGroupConfig
java.lang.Exception
public <T> void inject(T bean, CreationalContext<T> env)
inject
in class ResourceGroupConfig
bean
- the bean to configureenv
- the Config environmentpublic java.lang.Object getValue()
getValue
in class ResourceGroupConfig
public void deploy()
deploy
in class ResourceGroupConfig
public void validate() throws ConfigException
validate
in interface Validator
ConfigException
public java.lang.String toString()
toString
in class ResourceGroupConfig