| org.apache.cocoon.util.SimpleSourceResolver
SimpleSourceResolver | final public class SimpleSourceResolver extends AbstractLogEnabled implements ThreadSafe,Contextualizable,SourceResolver(Code) | | A minimalist SourceResolver that handles a fixed restricted number of protocols. It is
used as a bootstrap resolver to load roles and imported files in a service manager.
The supported protocols schemes are:
resource to load resources in the classpath,
context to load resources from the context, defined by the context-root
entry in the Avalon
Context (either a
File or an
URL ), or if not
present, from the user.dir system property,
- all standard JDK schemes (http, file, etc).
Relative URIs are resolved relatively to the context root, i.e. similarily to "context: ".
version: $Id: SimpleSourceResolver.java 433543 2006-08-22 06:22:54Z crossley $ |
Inner Class :final public static class SimpleServiceManager implements ServiceManager | |
contextualize | public void contextualize(Context context) throws ContextException(Code) | | |
enableLogging | public void enableLogging(Logger logger)(Code) | | |
release | public void release(Source source)(Code) | | |
|
|