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

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

public class BlobSourceFactory
extends AbstractLogEnabled
implements Serviceable, SourceFactory, ThreadSafe

A factory for 'blob:' sources.

Version:
CVS $Id: BlobSourceFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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-2010 The Apache Software Foundation. All Rights Reserved.