shocks.framework.workflow.filter.repository
Class FilterVersionCache

java.lang.Object
  extended byshocks.framework.workflow.filter.repository.FilterVersionCache

public class FilterVersionCache
extends java.lang.Object

This class manages versioning for the filter repository.


Constructor Summary
FilterVersionCache(Workflow instance)
           
 
Method Summary
 void add(Workflow instance)
           
 Workflow lease(java.lang.String version)
          Get the instance pool with the specified version and return a readied DataSource instance.
 void release(Workflow instance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterVersionCache

public FilterVersionCache(Workflow instance)
Method Detail

lease

public Workflow lease(java.lang.String version)
Get the instance pool with the specified version and return a readied DataSource instance.

Returns:
Workflow

add

public void add(Workflow instance)
Parameters:
instance -

release

public void release(Workflow instance)