com.smallx.servlet
Class PipelineCache

java.lang.Object
  extended bycom.smallx.servlet.PipelineCache
Direct Known Subclasses:
FilePipelineCache

public abstract class PipelineCache
extends java.lang.Object


Constructor Summary
PipelineCache()
          Creates a new instance of PipelineCache
PipelineCache(boolean checkForChanges)
           
 
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
 

Constructor Detail

PipelineCache

public PipelineCache()
Creates a new instance of PipelineCache


PipelineCache

public PipelineCache(boolean checkForChanges)
Method Detail

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