Klasse 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
Autor:
Siegfried Goeschl
  • Konstruktordetails

    • ReconfigurationEntry

      public ReconfigurationEntry(org.apache.avalon.framework.logger.Logger logger, File applicationDir, String location, String[] serviceList)
      Constructor
      Parameter:
      logger - the logger to use
      applicationDir - the home directory of the application
      location - the location to monitor for changes
      serviceList - the list of services to be reconfigured
  • Methodendetails

    • hasChanged

      public boolean hasChanged()
      Gibt zurück:
      has the monitored location changed
    • getServiceList

      public String[] getServiceList()
      Gibt zurück:
      Returns the serviceList.
    • locate

      public InputStream locate() throws IOException
      Creates an InputStream.
      Gibt zurück:
      the input stream
      Löst aus:
      IOException - the creation failed