frysk.dwfl
Class DwflCache

java.lang.Object
  extended by frysk.dwfl.DwflCache

public class DwflCache
extends Object

Cache of most-recently opened Dwfl-s. This class ensures that code requiring dwfl always accesses the most recently opened version. If a process changes, and the Dwfl needs to be updated, this class will re-open the dwfl returning a new object.


Constructor Summary
DwflCache()
           
 
Method Summary
static void clear()
           
static Dwfl getDwfl(Task task)
          return a Dwfl for a Task.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DwflCache

public DwflCache()
Method Detail

getDwfl

public static Dwfl getDwfl(Task task)
return a Dwfl for a Task.

Parameters:
task - the given Task.
Returns:
a Dwfl created using the tasks maps.

clear

public static void clear()