|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 loadMethod Detail |
---|
public URL getConfigUrl()
Returns the target configuration file url.
getConfigUrl
in interface ConfigBean.ConfigDefinition
public long getLastModified()
Returns the last time the target configuration file was modified.
getLastModified
in interface ConfigBean.ConfigDefinition
public void setLastModified(long lastModified)
Sets the last time the target configuration file was modified.
setLastModified
in interface ConfigBean.ConfigDefinition
lastModified
- last time the file was changed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |