com.smallx.servlet
Class PipelineCache
java.lang.Object
com.smallx.servlet.PipelineCache
- Direct Known Subclasses:
- FilePipelineCache
- public abstract class PipelineCache
- extends java.lang.Object
Method Summary |
com.smallx.xml.pipeline.Pipeline |
getInstance(java.net.URI id)
|
protected abstract boolean |
isUpToDate(java.net.URI id)
|
protected abstract com.smallx.xml.pipeline.Pipeline |
loadPipelineInstance(java.net.URI id)
|
void |
release(java.net.URI id,
com.smallx.xml.pipeline.Pipeline instance)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PipelineCache
public PipelineCache()
- Creates a new instance of PipelineCache
PipelineCache
public PipelineCache(boolean checkForChanges)
getInstance
public com.smallx.xml.pipeline.Pipeline getInstance(java.net.URI id)
throws com.smallx.xml.infoset.XMLException
- Throws:
com.smallx.xml.infoset.XMLException
release
public void release(java.net.URI id,
com.smallx.xml.pipeline.Pipeline instance)
isUpToDate
protected abstract boolean isUpToDate(java.net.URI id)
loadPipelineInstance
protected abstract com.smallx.xml.pipeline.Pipeline loadPipelineInstance(java.net.URI id)
throws com.smallx.xml.infoset.XMLException
- Throws:
com.smallx.xml.infoset.XMLException