public class ResourceRef extends ResourceGroupConfig implements Validator, ObjectProxy
| Constructor and Description |
|---|
ResourceRef() |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy() |
ConfigException |
error(java.lang.String msg) |
ConfigProgram |
getInit()
Gets the init program;
|
InjectionTarget |
getInjectionTarget()
Gets the injection-target
|
java.lang.String |
getResRefName()
Gets the name
|
java.lang.Class<?> |
getResType()
Gets the type;
|
java.lang.Object |
getValue() |
void |
init()
Initialize the resource.
|
void |
setClassName(java.lang.Class<?> type)
Sets the type
|
void |
setConfigLocation(java.lang.String filename,
int line)
Sets the configuration location.
|
void |
setDescription(java.lang.String description)
Sets the description.
|
void |
setId(java.lang.String id)
Sets the id
|
void |
setInit(ConfigProgram init)
Sets the init program
|
void |
setInitParam(InitParam initParam)
Sets an init-parameter
|
void |
setInjectionTarget(InjectionTarget injectionTarget)
Sets the injection-target
|
void |
setResAuth(java.lang.String auth)
Sets the auth
|
void |
setResRefName(java.lang.String name)
Sets the name
|
void |
setResSharingScope(java.lang.String share)
Sets the sharing scope
|
void |
setResType(java.lang.Class<?> type)
Sets the type
|
java.lang.String |
toString() |
void |
validate()
Validates the resource-ref, i.e.
|
addInjectionTarget, createObject, getJndiClassLoader, getLookupName, getProgram, getProgram, inferTypeFromInjection, inject, isProgram, setDefaultInjectionClass, setJndiClassLoader, setLookupName, setProgramaddProgram, bind, compareTo, configure, configure, configure, create, create, create, getDeclaringClass, getName, getPriority, getQName, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateObjectpublic void setId(java.lang.String id)
setId in class ResourceGroupConfigpublic void setConfigLocation(java.lang.String filename,
int line)
setConfigLocation in class ResourceGroupConfigpublic void setDescription(java.lang.String description)
setDescription in class ResourceGroupConfigpublic void setInjectionTarget(InjectionTarget injectionTarget)
public void setResRefName(java.lang.String name)
public java.lang.String getResRefName()
public void setResType(java.lang.Class<?> type)
public void setResAuth(java.lang.String auth)
public void setResSharingScope(java.lang.String share)
public void setClassName(java.lang.Class<?> type)
public InjectionTarget getInjectionTarget()
public java.lang.Class<?> getResType()
public void setInit(ConfigProgram init)
public ConfigProgram getInit()
public void setInitParam(InitParam initParam)
@PostConstruct public void init() throws java.lang.Exception
init in class ResourceGroupConfigjava.lang.Exceptionpublic void deploy()
deploy in class ResourceGroupConfigpublic java.lang.Object getValue()
getValue in class ResourceGroupConfigpublic void validate()
throws ConfigException
validate in interface ValidatorConfigExceptionpublic ConfigException error(java.lang.String msg)
error in class ResourceGroupConfigpublic java.lang.String toString()
toString in class ResourceGroupConfig