org.apache.cocoon.portal.coplet.impl
Class DefaultCopletFactory
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.impl.AbstractComponent
org.apache.cocoon.portal.coplet.impl.DefaultCopletFactory
- All Implemented Interfaces:
- Contextualizable, CopletFactory, Disposable, Initializable, LogEnabled, Serviceable, ThreadSafe
- public class DefaultCopletFactory
- extends AbstractComponent
- implements CopletFactory
This factory is for creating and managing coplet objects.
- Version:
- $Id: DefaultCopletFactory.java 328034 2005-10-24 11:18:37Z cziegeler $
Field Summary |
protected static long |
idCounter
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
idCounter
protected static long idCounter
DefaultCopletFactory
public DefaultCopletFactory()
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
- See Also:
CopletFactory.newInstance(org.apache.cocoon.portal.coplet.CopletData)
newInstance
public CopletInstanceData newInstance(CopletData copletData,
String id)
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
- See Also:
CopletFactory.newInstance(org.apache.cocoon.portal.coplet.CopletData, String)
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
- See Also:
CopletFactory.remove(org.apache.cocoon.portal.coplet.CopletInstanceData)
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.