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

java.lang.Object
  extended by org.apache.pluto.driver.services.impl.resource.PropertyConfigServiceImpl
All Implemented Interfaces:
DriverConfigurationService, PropertyConfigService

public class PropertyConfigServiceImpl
extends java.lang.Object
implements PropertyConfigService

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

Since:
Aug 10, 2005

Constructor Summary
PropertyConfigServiceImpl()
           
 
Method Summary
 void destroy()
          Shutdown the ResourceService.
 java.lang.String getContainerName()
          Unique name of the Portlet Container used to service this portal instance.
 java.lang.String getPortalName()
          Name of the portal driver.
 java.lang.String getPortalVersion()
          Portal driver version.
 java.util.Set getSupportedPortletModes()
          Set of unique Portlet Modes.
 java.util.Set getSupportedWindowStates()
          Set of unique Window States.
 void init(javax.servlet.ServletContext ctx)
          Initialization Lifecycle Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyConfigServiceImpl

public PropertyConfigServiceImpl()
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 java.lang.String getPortalName()
Description copied from interface: PropertyConfigService
Name of the portal driver.

Specified by:
getPortalName in interface PropertyConfigService
Returns:
the name of this portal implementation

getPortalVersion

public java.lang.String getPortalVersion()
Description copied from interface: PropertyConfigService
Portal driver version.

Specified by:
getPortalVersion in interface PropertyConfigService
Returns:
version information

getContainerName

public java.lang.String getContainerName()
Description copied from interface: PropertyConfigService
Unique name of the Portlet Container used to service this portal instance.

Specified by:
getContainerName in interface PropertyConfigService
Returns:
container name

getSupportedPortletModes

public java.util.Set getSupportedPortletModes()
Description copied from interface: PropertyConfigService
Set of unique Portlet Modes. The set must include PortletMode.VIEW, PortletMode.EDIT, and PortletMode.HELP

Specified by:
getSupportedPortletModes in interface PropertyConfigService
Returns:
set of unique portlet modes.

getSupportedWindowStates

public java.util.Set getSupportedWindowStates()
Description copied from interface: PropertyConfigService
Set of unique Window States. The set must include: WindowState.NORMAL, WindowState.MAXIMIZED, and WindowState.MINIMIZED

Specified by:
getSupportedWindowStates in interface PropertyConfigService
Returns:
set of unique window states.


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