org.apache.commons.jci.listeners
Class NotifyingListener
java.lang.Object
org.apache.commons.jci.listeners.NotifyingListener
- All Implemented Interfaces:
- FilesystemAlterationListener
- Direct Known Subclasses:
- FileChangeListener, ResourceStoringListener
- public abstract class NotifyingListener
- extends java.lang.Object
- implements FilesystemAlterationListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
repository
protected final java.io.File repository
notificationListener
protected NotificationListener notificationListener
NotifyingListener
public NotifyingListener(java.io.File pRepository)
getRepository
public java.io.File getRepository()
- Specified by:
getRepository
in interface FilesystemAlterationListener
setNotificationListener
public void setNotificationListener(NotificationListener pNotificationListener)
checked
protected void checked(boolean pNotify)
waitForNotification
public void waitForNotification()
throws java.lang.Exception
- Throws:
java.lang.Exception
waitForFirstCheck
public void waitForFirstCheck()
throws java.lang.Exception
- Throws:
java.lang.Exception
waitForCheck
public void waitForCheck()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.