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

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.components.source.impl.BlobSourceFactory
All Implemented Interfaces:
Serviceable, SourceFactory, ThreadSafe

public class BlobSourceFactory
extends org.apache.cocoon.util.AbstractLogEnabled
implements Serviceable, SourceFactory, ThreadSafe

A factory for 'blob:' sources.

Version:
$Id: BlobSourceFactory.html 1304280 2012-03-23 11:18:01Z ilgrosso $

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.cocoon.util.AbstractLogEnabled
getLogger, setLogger
 
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 IOException
Get a Source object.

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

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-2008 The Apache Software Foundation. All Rights Reserved.