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:
CVS $Id: CopletFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

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

Field Detail

ROLE

static final String ROLE
Method Detail

prepare

void prepare(CopletData copletData)
             throws ProcessingException
Throws:
ProcessingException

prepare

void prepare(CopletInstanceData copletInstanceData)
             throws ProcessingException
Throws:
ProcessingException

newInstance

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

Throws:
ProcessingException

remove

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

Throws:
ProcessingException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.