org.edg.security.delegation
Class DelegationStorageCleaner

java.lang.Object
  |
  +--java.util.TimerTask
        |
        +--org.edg.security.delegation.DelegationStorageCleaner
All Implemented Interfaces:
java.lang.Runnable

public class DelegationStorageCleaner
extends java.util.TimerTask

A custom TimerTask that removes all expired delegations from the storage.


Constructor Summary
DelegationStorageCleaner()
           
 
Method Summary
 void addDelegationsEventListener(DelegationsEventListener listener)
          Allows DelegationStorages to register for DelegationsEvents
 void fireDelegationsEvent(DelegationsEvent evt)
          Fires DelegationsEvents
 void run()
          The run method of this TimerTask
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegationStorageCleaner

public DelegationStorageCleaner()
Method Detail

run

public void run()
The run method of this TimerTask

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask

addDelegationsEventListener

public void addDelegationsEventListener(DelegationsEventListener listener)
Allows DelegationStorages to register for DelegationsEvents


fireDelegationsEvent

public void fireDelegationsEvent(DelegationsEvent evt)
Fires DelegationsEvents