com.jalios.jcms.fileprocessor
Class FileProcessorAlarmListener

java.lang.Object
  extended by com.jalios.jcms.fileprocessor.FileProcessorAlarmListener
All Implemented Interfaces:
AlarmListener

public class FileProcessorAlarmListener
extends Object
implements AlarmListener

For one Repository configured, there is one instance of this AlarmListener registered in a corresponding AlarmManager.

Version:
$Revision: 27882 $

Field Summary
static String REVISION
           
 
Constructor Summary
FileProcessorAlarmListener(Repository repository)
           
 
Method Summary
 void handleAlarm(AlarmEntry entry)
          Invoked when an alarm is triggered.
 void stopScanning()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

FileProcessorAlarmListener

public FileProcessorAlarmListener(Repository repository)
                           throws IOException
Throws:
IOException
Method Detail

handleAlarm

public void handleAlarm(AlarmEntry entry)
Description copied from interface: AlarmListener
Invoked when an alarm is triggered.

Specified by:
handleAlarm in interface AlarmListener
Parameters:
entry - the AlarmEntry which has been triggered.

stopScanning

public void stopScanning()


Copyright © 2001-2010 Jalios SA. All Rights Reserved.