org.apache.pluto
Class PortletContainerFactory

java.lang.Object
  extended by org.apache.pluto.PortletContainerFactory

public class PortletContainerFactory
extends java.lang.Object

Factory used to create new PortletContainer instances. The factor constructs the underlying pluto container implementation by using the the given container services.

Since:
Sep 18, 2004
Version:
1.0

Method Summary
 PortletContainer createContainer(java.lang.String containerName, RequiredContainerServices requiredServices)
          Create a container with the given containerName, initialized from the given servlet config, and using the given container services.
 PortletContainer createContainer(java.lang.String containerName, RequiredContainerServices requiredServices, OptionalContainerServices optionalServices)
           
static PortletContainerFactory getInstance()
          Accessor method for the singleton instance of the PortletContainerFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PortletContainerFactory getInstance()
Accessor method for the singleton instance of the PortletContainerFactory.

Returns:
singleton instance of the PortletContainerFactory

createContainer

public PortletContainer createContainer(java.lang.String containerName,
                                        RequiredContainerServices requiredServices)
                                 throws PortletContainerException
Create a container with the given containerName, initialized from the given servlet config, and using the given container services.

Parameters:
containerName - the name of the portlet container.
requiredServices - the required portlet container services.
Returns:
newly created PortletContainer instance.
Throws:
PortletContainerException

createContainer

public PortletContainer createContainer(java.lang.String containerName,
                                        RequiredContainerServices requiredServices,
                                        OptionalContainerServices optionalServices)


Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.