Class ProxySourceFactory

java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.core.cocoon.source.ProxySourceFactory
All Implemented Interfaces:
Component, Configurable, LogEnabled, Serviceable, ThreadSafe, SourceFactory
Direct Known Subclasses:
KernelSourceFactory

Factory for reading files in one protocol and switch to others if not found. Configuration should be like:

       <match>kernel://(.*)</match>
       <protocols>
         <protocol>resource://org/ametys/runtime/kernel/{1}</protocol>
         <protocol>context://kernel/{1}</protocol>
       </protocols>