org.apache.jetspeed.services.portletfactory
Interface PortletFactoryService

All Superinterfaces:
org.apache.turbine.services.Initable, org.apache.turbine.services.Service
All Known Implementing Classes:
JetspeedPortletFactoryService

public interface PortletFactoryService
extends org.apache.turbine.services.Service

This service handles the creation of Portlet objects

Version:
$Id: PortletFactoryService.java,v 1.5 2005/03/21 18:21:44 sgala Exp $
Author:
Raphaël Luta

Field Summary
static java.lang.String SERVICE_NAME
          The default control to use when none is specified
 
Method Summary
 Portlet getPortlet(Entry entry)
          Given a PSML Entry return an instanciated Portlet.
 Portlet getPortlet(java.lang.String name, java.lang.String id)
          Given a Portlet registry entry name, instanciate it
 
Methods inherited from interface org.apache.turbine.services.Service
getConfiguration, getName, getProperties, setName, setServiceBroker
 
Methods inherited from interface org.apache.turbine.services.Initable
getInit, init, init, setInitableBroker, shutdown
 

Field Detail

SERVICE_NAME

public static final java.lang.String SERVICE_NAME
The default control to use when none is specified

See Also:
Constant Field Values
Method Detail

getPortlet

public Portlet getPortlet(Entry entry)
                   throws PortletException
Given a PSML Entry return an instanciated Portlet.

Parameters:
entry - a PSML Entry describing a portlet
Returns:
an instanciated portlet corresponding to this entry
Throws:
PortletException

getPortlet

public Portlet getPortlet(java.lang.String name,
                          java.lang.String id)
                   throws PortletException
Given a Portlet registry entry name, instanciate it

Parameters:
name - the name of a portlet in the registry
Returns:
an instanciated portlet corresponding to this entry
Throws:
PortletException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.