org.apache.cocoon.portal.source
Class CopletSourceFactory

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.portal.source.CopletSourceFactory
All Implemented Interfaces:
Component, Contextualizable, LogEnabled, Serviceable, SourceFactory, ThreadSafe

public class CopletSourceFactory
extends AbstractLogEnabled
implements SourceFactory, Serviceable, ThreadSafe, Contextualizable

The source factory for the coplet sources.

Version:
$Id: CopletSourceFactory.java 328453 2005-10-25 19:08:53Z cziegeler $

Field Summary
protected  Context context
           
protected  ServiceManager manager
           
 
Fields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
 
Constructor Summary
CopletSourceFactory()
           
 
Method Summary
 void contextualize(Context context)
           
 Source getSource(String location, Map parameters)
           
 void release(Source source)
           
 void service(ServiceManager serviceManager)
           
 
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
 

Field Detail

manager

protected ServiceManager manager

context

protected Context context
Constructor Detail

CopletSourceFactory

public CopletSourceFactory()
Method Detail

service

public void service(ServiceManager serviceManager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException
See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)

contextualize

public void contextualize(Context context)
                   throws ContextException
Specified by:
contextualize in interface Contextualizable
Throws:
ContextException
See Also:
Contextualizable.contextualize(org.apache.avalon.framework.context.Context)

getSource

public Source getSource(String location,
                        Map parameters)
                 throws MalformedURLException,
                        IOException
Specified by:
getSource in interface SourceFactory
Throws:
MalformedURLException
IOException
See Also:
SourceFactory.getSource(String, Map)

release

public void release(Source source)
Specified by:
release in interface SourceFactory
See Also:
SourceFactory.release(Source)


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.