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