org.apache.cocoon.components.source.impl
Class SlideSourceFactory
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.source.impl.SlideSourceFactory
- All Implemented Interfaces:
- Contextualizable, LogEnabled, Serviceable, ThreadSafe, SourceFactory
public class SlideSourceFactory
- extends AbstractLogEnabled
- implements SourceFactory, Contextualizable, Serviceable, ThreadSafe
A factory for sources from a Jakarta Slide repository.
- Version:
- CVS $Id: SlideSourceFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlideSourceFactory
public SlideSourceFactory()
contextualize
public void contextualize(Context context)
throws ContextException
- Specified by:
contextualize
in interface Contextualizable
- Parameters:
context
- The context.
- Throws:
ContextException
- See Also:
Contextualizable.contextualize(org.apache.avalon.framework.context.Context)
service
public void service(ServiceManager manager)
throws ServiceException
- Lookup the SlideRepository.
- Specified by:
service
in interface Serviceable
- Parameters:
manager
- ServiceManager.
- Throws:
ServiceException
getSource
public Source getSource(String location,
Map parameters)
throws MalformedURLException,
IOException,
SourceException
- Get a
Source
object.
- Specified by:
getSource
in interface SourceFactory
- Parameters:
location
- URI of the source.parameters
- This is optional.
- Returns:
- A new source object.
- Throws:
MalformedURLException
IOException
SourceException
release
public void release(Source source)
- Release a
Source
object.
- Specified by:
release
in interface SourceFactory
- Parameters:
source
- Source, which should be released.
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.