org.apache.cocoon.components.source.impl
Class RepositorySourceFactory
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.source.impl.RepositorySourceFactory
- All Implemented Interfaces:
- Configurable, LogEnabled, Serviceable, ThreadSafe, SourceFactory
public class RepositorySourceFactory
- extends AbstractLogEnabled
- implements SourceFactory, Serviceable, Configurable, ThreadSafe
Creates RepositorySources.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositorySourceFactory
public RepositorySourceFactory()
configure
public void configure(Configuration configuration)
throws ConfigurationException
- Read the
name
attribute.
- Specified by:
configure
in interface Configurable
- Throws:
ConfigurationException
service
public void service(ServiceManager manager)
- Lookup the SourceDescriptorManager service.
- Specified by:
service
in interface Serviceable
getSource
public Source getSource(String location,
Map parameters)
throws IOException,
MalformedURLException
- Specified by:
getSource
in interface SourceFactory
- Throws:
IOException
MalformedURLException
release
public void release(Source source)
- Specified by:
release
in interface SourceFactory
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.