org.apache.cocoon.portal.coplet.impl
Class DefaultCopletFactory
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.coplet.impl.DefaultCopletFactory
- All Implemented Interfaces:
- Disposable, Component, Configurable, LogEnabled, Serviceable, ThreadSafe, CopletFactory
public class DefaultCopletFactory
- extends AbstractLogEnabled
- implements Component, ThreadSafe, CopletFactory, Serviceable, Disposable, Configurable
This factory is for creating and managing coplet objects
- Version:
- CVS $Id: DefaultCopletFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Carsten Ziegeler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
manager
protected ServiceManager manager
coplets
protected Map coplets
descriptions
protected List descriptions
storeSelector
protected ServiceSelector storeSelector
idCounter
protected static long idCounter
DefaultCopletFactory
public DefaultCopletFactory()
prepare
public void prepare(CopletData copletData)
throws ProcessingException
- Specified by:
prepare
in interface CopletFactory
- Throws:
ProcessingException
prepare
public void prepare(CopletInstanceData copletInstanceData)
throws ProcessingException
- Specified by:
prepare
in interface CopletFactory
- Throws:
ProcessingException
newInstance
public CopletInstanceData newInstance(CopletData copletData)
throws ProcessingException
- Description copied from interface:
CopletFactory
- Create a new coplet instance.
This is also registered at the profile manager.
- Specified by:
newInstance
in interface CopletFactory
- Throws:
ProcessingException
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
configure
public void configure(Configuration configuration)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
- Throws:
ConfigurationException
remove
public void remove(CopletInstanceData copletInstanceData)
throws ProcessingException
- Description copied from interface:
CopletFactory
- Remove the coplet instance data.
This is also unregistered at the profile manager.
- Specified by:
remove
in interface CopletFactory
- Throws:
ProcessingException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.