com.vordel.circuit
Class FilterContainer
java.lang.Object
com.vordel.circuit.FilterContainer
- Direct Known Subclasses:
- MessageProcessor
public class FilterContainer
- extends java.lang.Object
Wraps a basic Filter object to provide templatable domain specific
functionality in circuits. (eg, Server-side processing by MessageProcessor)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterContainer
public FilterContainer()
createFilterContainer
public static FilterContainer createFilterContainer(java.lang.Class<? extends FilterContainer> clazz,
Filter filter,
ESPK circuitPK)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
getFilter
public final Filter getFilter()
setFilter
public final void setFilter(Filter f)
configureFilter
public final void configureFilter(com.vordel.precipitate.SolutionPack ctx,
Entity entity)
throws EntityStoreException
- Throws:
EntityStoreException
filterAttached
public void filterAttached(com.vordel.precipitate.SolutionPack ctx,
Entity entity)
throws EntityStoreException
- Called on a filter's container when the filter is configured.
Any domain-specific initialisation of the filter container can be done
at this point. This will be called at least once when the filter
attaches.
- Parameters:
ctx
- configuration context for the filter attached to this
container.
- Throws:
EntityStoreException
filterDetached
public void filterDetached()
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel