|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.config.types.ResourceRef
public class ResourceRef
Configuration for the init-param pattern.
| Constructor Summary | |
|---|---|
ResourceRef()
|
|
| Method Summary | |
|---|---|
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; |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceRef()
| Method Detail |
|---|
public void setId(java.lang.String id)
public void setConfigLocation(java.lang.String filename,
int line)
public void setDescription(java.lang.String description)
public 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)
public void init()
throws java.lang.Throwable
java.lang.Throwable
public void validate()
throws ConfigException
validate in interface ValidatorConfigExceptionpublic ConfigException error(java.lang.String msg)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||