org.apache.pluto.core
Class DefaultOptionalContainerServices

java.lang.Object
  extended by org.apache.pluto.core.DefaultOptionalContainerServices
All Implemented Interfaces:
OptionalContainerServices

public class DefaultOptionalContainerServices
extends java.lang.Object
implements OptionalContainerServices

Default Optional Container Services implementation.

Since:
Sep 18, 2004
Version:
1.0

Constructor Summary
DefaultOptionalContainerServices()
          Constructs an instance using the default portlet preferences service implementation.
DefaultOptionalContainerServices(OptionalContainerServices root)
          Constructs an instance using specified optional container services implementation.
 
Method Summary
 PortalAdministrationService getPortalAdministrationService()
          Returns the admin service implementation used by the container.
 PortletEnvironmentService getPortletEnvironmentService()
          Returns the environment services implementation used by the container.
 PortletInfoService getPortletInfoService()
          Returns the portlet info service implementation used by the container.
 PortletInvokerService getPortletInvokerService()
          Returns an invoker for the specified PortletWindow.
 PortletPreferencesService getPortletPreferencesService()
          Returns the portlet preferences service implementation used by the container.
 PortletRegistryService getPortletRegistryService()
          Returns the portlet registry services implementation used by the container.
 UserInfoService getUserInfoService()
          Returns the user info service implementation used by the container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOptionalContainerServices

public DefaultOptionalContainerServices()
Constructs an instance using the default portlet preferences service implementation.


DefaultOptionalContainerServices

public DefaultOptionalContainerServices(OptionalContainerServices root)
Constructs an instance using specified optional container services implementation. If the portlet preferences service is provided, it will be used. Otherwise, the default portlet preferences service will be used.

Parameters:
root - the root optional container services implementation.
Method Detail

getPortletPreferencesService

public PortletPreferencesService getPortletPreferencesService()
Description copied from interface: OptionalContainerServices
Returns the portlet preferences service implementation used by the container.

Specified by:
getPortletPreferencesService in interface OptionalContainerServices
Returns:
portlet preferences service implementation.

getPortletRegistryService

public PortletRegistryService getPortletRegistryService()
Description copied from interface: OptionalContainerServices
Returns the portlet registry services implementation used by the container.

Specified by:
getPortletRegistryService in interface OptionalContainerServices
Returns:
registry service implementation

getPortletEnvironmentService

public PortletEnvironmentService getPortletEnvironmentService()
Description copied from interface: OptionalContainerServices
Returns the environment services implementation used by the container.

Specified by:
getPortletEnvironmentService in interface OptionalContainerServices
Returns:
portlet environment services implementation.

getPortletInvokerService

public PortletInvokerService getPortletInvokerService()
Description copied from interface: OptionalContainerServices
Returns an invoker for the specified PortletWindow.

Specified by:
getPortletInvokerService in interface OptionalContainerServices
Returns:
an invoker which can be used to service the indicated portlet.

getPortletInfoService

public PortletInfoService getPortletInfoService()
Description copied from interface: OptionalContainerServices
Returns the portlet info service implementation used by the container.

Specified by:
getPortletInfoService in interface OptionalContainerServices
Returns:
portlet info service implementation.

getPortalAdministrationService

public PortalAdministrationService getPortalAdministrationService()
Description copied from interface: OptionalContainerServices
Returns the admin service implementation used by the container.

Specified by:
getPortalAdministrationService in interface OptionalContainerServices
Returns:
portal admin service

getUserInfoService

public UserInfoService getUserInfoService()
Description copied from interface: OptionalContainerServices
Returns the user info service implementation used by the container.

Specified by:
getUserInfoService in interface OptionalContainerServices
Returns:
user info service


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