com.vordel.circuit
Class CircuitCache
java.lang.Object
com.vordel.circuit.CircuitCache
public abstract class CircuitCache
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CircuitCache
public CircuitCache()
create
public abstract FilterContainer create(Filter f,
ESPK circuitPK)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException
- Implemented by subclasses to perform the factory operation.
- Parameters:
f
- Filter to wrapcircuitPK
- The PK of the filter's owner Circuit
- Returns:
- A new FilterContainer implementing specific functionality
required by the Circuit's owner.
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
forClass
protected FilterContainer forClass(java.lang.Class<? extends FilterContainer> klass,
Filter filter,
ESPK circuitPK)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Utility method for producing a filter container using the
default constructor for a
Class
object.
- Parameters:
klass
- The class (should implement FilterContainer
- Throws:
java.lang.IllegalAccessException
java.lang.InstantiationException
getCircuit
public Circuit getCircuit(ESPK pk)
throws EntityStoreException
- Throws:
EntityStoreException
constructParentCircuitContainers
protected void constructParentCircuitContainers(EntityStore es,
Circuit circuit)
throws EntityStoreException
- Throws:
EntityStoreException
setPack
public void setPack(com.vordel.precipitate.SolutionPack pack)
flush
public void flush()
- Reset the cache of circuits
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel