|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shale.clay.config.beans.ComponentConfigBean.XmlConfigDef
protected class ComponentConfigBean.XmlConfigDef
This class defines a single configration file that is watched for
changes. In addition to the URL passed to the overloaded
constructor, the lastModifed date is kept as a state
variable.
| Constructor Summary | |
|---|---|
ComponentConfigBean.XmlConfigDef(URL configUrl)
Overloaded constructor that requires the target config URL. |
|
| Method Summary | |
|---|---|
URL |
getConfigUrl()
Returns the target configuration file url. |
long |
getLastModified()
Returns the last time the target configuration file was modified. |
void |
setLastModified(long lastModified)
Sets the last time the target configuration file was modified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentConfigBean.XmlConfigDef(URL configUrl)
Overloaded constructor that requires the target config URL.
configUrl - file to load| Method Detail |
|---|
public URL getConfigUrl()
Returns the target configuration file url.
getConfigUrl in interface ConfigBean.ConfigDefinitionpublic long getLastModified()
Returns the last time the target configuration file was modified.
getLastModified in interface ConfigBean.ConfigDefinitionpublic void setLastModified(long lastModified)
Sets the last time the target configuration file was modified.
setLastModified in interface ConfigBean.ConfigDefinitionlastModified - last time the file was changed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||