org.apache.fulcrum.yaafi.service.reconfiguration
Class ReconfigurationEntry
java.lang.Object
org.apache.fulcrum.yaafi.service.reconfiguration.ReconfigurationEntry
public class ReconfigurationEntry
- extends Object
Monitors a resource and checks if it has changed
- Author:
- Siegfried Goeschl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
hasChanged
public boolean hasChanged()
- Returns:
- has the monitored location changed
getServiceList
public String[] getServiceList()
- Returns:
- Returns the serviceList.
locate
public InputStream locate()
throws IOException
- Creates an InputStream.
- Returns:
- the input stream
- Throws:
IOException
- the creation failed
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.