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

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.components.source.impl.BlobSourceFactory
All Implemented Interfaces:
Component, LogEnabled, Serviceable, SourceFactory, ThreadSafe

public class BlobSourceFactory
extends AbstractLogEnabled
implements Serviceable, SourceFactory, ThreadSafe

A factory for 'blob:' sources.

Version:
CVS $Id: BlobSourceFactory.java 30941 2004-07-29 19:56:58Z vgritsenko $
Author:
Sylvain Wallez, Stephan Michels

Field Summary
protected  ServiceManager manager
          The ServiceManager instance
 
Fields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
 
Constructor Summary
BlobSourceFactory()
           
 
Method Summary
 Source getSource(String location, Map parameters)
          Get a Source object.
 void release(Source source)
          Release a Source object.
 void service(ServiceManager manager)
           
 
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
The ServiceManager instance

Constructor Detail

BlobSourceFactory

public BlobSourceFactory()
Method Detail

getSource

public Source getSource(String location,
                        Map parameters)
                 throws MalformedURLException,
                        IOException,
                        SourceException
Get a Source object.

Specified by:
getSource in interface SourceFactory
Parameters:
parameters - This is optional.
Throws:
MalformedURLException
IOException
SourceException

release

public void release(Source source)
Release a Source object.

Specified by:
release in interface SourceFactory

service

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


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