org.apache.pluto.driver.services.container
Class ContainerServicesImpl

java.lang.Object
  extended by org.apache.pluto.driver.services.container.ContainerServicesImpl
All Implemented Interfaces:
OptionalContainerServices, RequiredContainerServices

public class ContainerServicesImpl
extends Object
implements RequiredContainerServices, OptionalContainerServices

The Portal Driver's PortletContainerServices implementation. The PortletContainerServices interface is the main integration point between the pluto container and the surrounding portal.

Since:
Sep 21, 2004
Version:
1.0

Constructor Summary
ContainerServicesImpl(PortalContextImpl context, DriverConfiguration driverConfig, CCPPProfileService ccppProfileService)
          Default Constructor.
 
Method Summary
 CCPPProfileService getCCPPProfileService()
          Returns the CC/PP profile service implementation
 PortalAdministrationService getPortalAdministrationService()
          Returns the admin service implementation used by the container.
 PortalCallbackService getPortalCallbackService()
          The PortalCallbackService allows the container to communicate actions back to the portal.
 PortalContext getPortalContext()
          Standard Getter.
 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()
          The PortletPreferencesService provides access to the portal's PortletPreference persistence mechanism.
 PortletRegistryService getPortletRegistryService()
          Returns null to use pluto's default
 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

ContainerServicesImpl

public ContainerServicesImpl(PortalContextImpl context,
                             DriverConfiguration driverConfig,
                             CCPPProfileService ccppProfileService)
Default Constructor.

Method Detail

getPortalContext

public PortalContext getPortalContext()
Standard Getter.

Specified by:
getPortalContext in interface RequiredContainerServices
Returns:
the portal context for the portal which we service.

getPortletPreferencesService

public PortletPreferencesService getPortletPreferencesService()
The PortletPreferencesService provides access to the portal's PortletPreference persistence mechanism.

Specified by:
getPortletPreferencesService in interface OptionalContainerServices
Returns:
a PortletPreferencesService instance.

getPortalCallbackService

public PortalCallbackService getPortalCallbackService()
The PortalCallbackService allows the container to communicate actions back to the portal.

Specified by:
getPortalCallbackService in interface RequiredContainerServices
Returns:
a PortalCallbackService implementation.

getPortletRegistryService

public PortletRegistryService getPortletRegistryService()
Returns null to use pluto's default

Specified by:
getPortletRegistryService in interface OptionalContainerServices
Returns:

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.

getCCPPProfileService

public CCPPProfileService getCCPPProfileService()
Description copied from interface: RequiredContainerServices
Returns the CC/PP profile service implementation

Specified by:
getCCPPProfileService in interface RequiredContainerServices
Returns:
a CCPPProfileServiceImplementation

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-2011 Apache Software Foundation. All Rights Reserved.