org.apache.fulcrum.yaafi.service.reconfiguration
Class ReconfigurationEntry
java.lang.Object
org.apache.fulcrum.yaafi.service.reconfiguration.ReconfigurationEntry
public class ReconfigurationEntry
- extends java.lang.Object
Monitors a resource and checks if it has changed
- Author:
- Siegfried Goeschl
Constructor Summary |
ReconfigurationEntry(org.apache.avalon.framework.logger.Logger logger,
java.io.File applicationDir,
java.lang.String location,
java.lang.String[] serviceList)
Constructor |
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,
java.io.File applicationDir,
java.lang.String location,
java.lang.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 java.lang.String[] getServiceList()
- Returns:
- Returns the serviceList.
locate
public java.io.InputStream locate()
throws java.io.IOException
- Creates an InputStream.
- Returns:
- the input stream
- Throws:
java.io.IOException
- the creation failed
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.