org.apache.cocoon.portal.coplet
Interface CopletFactory

All Known Implementing Classes:
DefaultCopletFactory

public interface CopletFactory

This factory is for creating and managing coplet objects.

Version:
$Id: CopletFactory.java 328034 2005-10-24 11:18:37Z cziegeler $

Field Summary
static String ROLE
           
 
Method Summary
 CopletInstanceData newInstance(CopletData copletData)
          Create a new coplet instance.
 CopletInstanceData newInstance(CopletData copletData, String id)
          Create a new coplet instance.
 void remove(CopletInstanceData copletInstanceData)
          Remove the coplet instance data.
 

Field Detail

ROLE

public static final String ROLE
Method Detail

newInstance

public CopletInstanceData newInstance(CopletData copletData)
                               throws ProcessingException
Create a new coplet instance. This is also registered at the profile manager.

Throws:
ProcessingException

newInstance

public CopletInstanceData newInstance(CopletData copletData,
                                      String id)
                               throws ProcessingException
Create a new coplet instance. This is also registered at the profile manager.

Throws:
ProcessingException

remove

public void remove(CopletInstanceData copletInstanceData)
            throws ProcessingException
Remove the coplet instance data. This is also unregistered at the profile manager.

Throws:
ProcessingException


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.