org.apache.cocoon.tools.rcl.wrapper.servlet
Class CocoonReloadingListener

java.lang.Object
  extended byorg.apache.commons.jci.listeners.AbstractFilesystemAlterationListener
      extended byorg.apache.commons.jci.listeners.ReloadingListener
          extended byorg.apache.cocoon.tools.rcl.wrapper.servlet.CocoonReloadingListener
All Implemented Interfaces:
org.apache.commons.jci.monitor.FilesystemAlterationListener

public class CocoonReloadingListener
extends org.apache.commons.jci.listeners.ReloadingListener


Field Summary
 
Fields inherited from class org.apache.commons.jci.listeners.AbstractFilesystemAlterationListener
observer
 
Constructor Summary
CocoonReloadingListener()
           
 
Method Summary
protected  void changeDetected(File changedFile, String operation)
           
static void enableConsoleOutput()
           
static boolean isReload()
           
 void onFileChange(File file)
           
 void onFileCreate(File file)
           
 void onFileDelete(File file)
           
 
Methods inherited from class org.apache.commons.jci.listeners.ReloadingListener
addReloadNotificationListener, getStore, isReloadRequired, onDirectoryChange, onDirectoryCreate, onDirectoryDelete, onStop
 
Methods inherited from class org.apache.commons.jci.listeners.AbstractFilesystemAlterationListener
getChangedDirectories, getChangedFiles, getCreatedDirectories, getCreatedFiles, getDeletedDirectories, getDeletedFiles, onStart, signals, waitForCheck, waitForEvent, waitForFirstCheck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CocoonReloadingListener

public CocoonReloadingListener()
Method Detail

onFileChange

public void onFileChange(File file)

onFileDelete

public void onFileDelete(File file)

onFileCreate

public void onFileCreate(File file)

changeDetected

protected void changeDetected(File changedFile,
                              String operation)

enableConsoleOutput

public static void enableConsoleOutput()

isReload

public static boolean isReload()


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.