shocks.framework.workflow.filter
Class FilterRepositoryFactory

java.lang.Object
  extended byshocks.framework.workflow.filter.FilterRepositoryFactory

public class FilterRepositoryFactory
extends java.lang.Object


Constructor Summary
FilterRepositoryFactory()
           
 
Method Summary
static FilterRepository getRepository(javax.servlet.ServletContext ctx)
          This will search the MBeanServer for a registered repository.
static FilterRepository load(javax.servlet.ServletContext ctx)
          This method loads the FilterRepository and returns a reference to it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterRepositoryFactory

public FilterRepositoryFactory()
Method Detail

getRepository

public static FilterRepository getRepository(javax.servlet.ServletContext ctx)
This will search the MBeanServer for a registered repository. If it does not find one, it will create a new one and register it. If during the course of registration it finds one has since been created, it will return the one registered to the system. Note that this method does not attempt to load or staff the repository in any way--it simply creates and registers a new one or returns a reference to an existing one.

Returns:
FilterRepository

load

public static FilterRepository load(javax.servlet.ServletContext ctx)
This method loads the FilterRepository and returns a reference to it.

Parameters:
ctx -
Returns:
FilterRepository