public abstract class CircuitCache
extends java.lang.Object
Constructor and Description |
---|
CircuitCache() |
Modifier and Type | Method and Description |
---|---|
protected void |
constructParentCircuitContainers(EntityStore es,
Circuit circuit) |
abstract FilterContainer |
create(Filter f,
ESPK circuitPK)
Implemented by subclasses to perform the factory operation.
|
void |
flush()
Reset the cache of circuits
|
protected FilterContainer |
forClass(java.lang.Class<? extends FilterContainer> klass,
Filter filter,
ESPK circuitPK)
Utility method for producing a filter container using the
default constructor for a
Class object. |
Circuit |
getCircuit(ESPK pk) |
void |
setPack(com.vordel.precipitate.SolutionPack pack) |
public abstract FilterContainer create(Filter f, ESPK circuitPK) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException
f
- Filter to wrapcircuitPK
- The PK of the filter's owner Circuit
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
protected FilterContainer forClass(java.lang.Class<? extends FilterContainer> klass, Filter filter, ESPK circuitPK) throws java.lang.InstantiationException, java.lang.IllegalAccessException
Class
object.klass
- The class (should implement FilterContainer
java.lang.IllegalAccessException
java.lang.InstantiationException
protected void constructParentCircuitContainers(EntityStore es, Circuit circuit) throws EntityStoreException
EntityStoreException
public void setPack(com.vordel.precipitate.SolutionPack pack)
public void flush()
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel