org.apache.pluto.driver.services.impl.resource
Class RenderConfigServiceImpl

java.lang.Object
  extended by org.apache.pluto.driver.services.impl.resource.RenderConfigServiceImpl
All Implemented Interfaces:
RenderConfigAdminService, DriverConfigurationService, RenderConfigService

public class RenderConfigServiceImpl
extends Object
implements RenderConfigService, RenderConfigAdminService

Default implementation of all of the portal Services. Utilizes resource configuration from pluto-portal-driver-config.xml

Since:
Aug 10, 2005

Constructor Summary
RenderConfigServiceImpl()
           
 
Method Summary
 void addPage(PageConfig pageConfig)
           
 void destroy()
          Shutdown the ResourceService.
 String getContainerName()
           
 PageConfig getDefaultPage()
          Retrieve the PageConfig for the default page.
 PageConfig getPage(String id)
          Retrieve the PageConfig for the given page id.
 List getPages()
          Retrieve an ordered list of all PageConfig instances.
 String getPortalName()
           
 String getPortalVersion()
           
 Set getSupportedPortletModes()
           
 Set getSupportedWindowStates()
           
 void init(javax.servlet.ServletContext ctx)
          Initialization Lifecycle Method
 void removePage(PageConfig pageConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderConfigServiceImpl

public RenderConfigServiceImpl()
Method Detail

init

public void init(javax.servlet.ServletContext ctx)
Initialization Lifecycle Method

Specified by:
init in interface DriverConfigurationService
Parameters:
ctx -

destroy

public void destroy()
Shutdown the ResourceService.

Specified by:
destroy in interface DriverConfigurationService

getPortalName

public String getPortalName()

getPortalVersion

public String getPortalVersion()

getContainerName

public String getContainerName()

getSupportedPortletModes

public Set getSupportedPortletModes()

getSupportedWindowStates

public Set getSupportedWindowStates()

getPages

public List getPages()
Description copied from interface: RenderConfigService
Retrieve an ordered list of all PageConfig instances.

Specified by:
getPages in interface RenderConfigService
Returns:
list of all PageConfig instances.

getDefaultPage

public PageConfig getDefaultPage()
Description copied from interface: RenderConfigService
Retrieve the PageConfig for the default page.

Specified by:
getDefaultPage in interface RenderConfigService
Returns:
PageConfig instance of the default page.

getPage

public PageConfig getPage(String id)
Description copied from interface: RenderConfigService
Retrieve the PageConfig for the given page id.

Specified by:
getPage in interface RenderConfigService
Returns:
PageConfig instance for the specified id.

addPage

public void addPage(PageConfig pageConfig)
Specified by:
addPage in interface RenderConfigAdminService
Specified by:
addPage in interface RenderConfigService

removePage

public void removePage(PageConfig pageConfig)
Specified by:
removePage in interface RenderConfigService


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