Class ReconfigurationEntry
java.lang.Object
org.apache.fulcrum.yaafi.service.reconfiguration.ReconfigurationEntry
Monitors a resource and checks if it has changed
- Author:
- Siegfried Goeschl
-
Constructor Summary
ConstructorsConstructorDescriptionReconfigurationEntry
(org.apache.avalon.framework.logger.Logger logger, File applicationDir, String location, String[] serviceList) Constructor -
Method Summary
-
Constructor Details
-
ReconfigurationEntry
public ReconfigurationEntry(org.apache.avalon.framework.logger.Logger logger, File applicationDir, String location, String[] serviceList) Constructor- Parameters:
logger
- the logger to useapplicationDir
- the home directory of the applicationlocation
- the location to monitor for changesserviceList
- the list of services to be reconfigured
-
-
Method Details
-
hasChanged
public boolean hasChanged()- Returns:
- has the monitored location changed
-
getServiceList
- Returns:
- Returns the serviceList.
-
locate
Creates an InputStream.- Returns:
- the input stream
- Throws:
IOException
- the creation failed
-