Klasse ReconfigurationEntry
java.lang.Object
org.apache.fulcrum.yaafi.service.reconfiguration.ReconfigurationEntry
Monitors a resource and checks if it has changed
- Autor:
- Siegfried Goeschl
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungReconfigurationEntry
(org.apache.avalon.framework.logger.Logger logger, File applicationDir, String location, String[] serviceList) Constructor -
Methodenübersicht
-
Konstruktordetails
-
ReconfigurationEntry
public ReconfigurationEntry(org.apache.avalon.framework.logger.Logger logger, File applicationDir, String location, String[] serviceList) Constructor- Parameter:
logger
- the logger to useapplicationDir
- the home directory of the applicationlocation
- the location to monitor for changesserviceList
- the list of services to be reconfigured
-
-
Methodendetails
-
hasChanged
public boolean hasChanged()- Gibt zurück:
- has the monitored location changed
-
getServiceList
- Gibt zurück:
- Returns the serviceList.
-
locate
Creates an InputStream.- Gibt zurück:
- the input stream
- Löst aus:
IOException
- the creation failed
-