org.apache.cocoon.components.source.impl
Class RepositorySourceFactory

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by 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.


Field Summary
 
Fields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
 
Constructor Summary
RepositorySourceFactory()
           
 
Method Summary
 void configure(Configuration configuration)
          Read the name attribute.
 Source getSource(String location, Map parameters)
           
 void release(Source source)
           
 void service(ServiceManager manager)
          Lookup the SourceDescriptorManager service.
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositorySourceFactory

public RepositorySourceFactory()
Method Detail

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.