org.apache.cocoon.portal.pluto
Class InformationProviderServiceImpl

java.lang.Object
  extended by org.apache.cocoon.portal.pluto.InformationProviderServiceImpl
All Implemented Interfaces:
Contextualizable, Serviceable, PortletContainerEnabled, org.apache.pluto.services.ContainerService, org.apache.pluto.services.information.InformationProviderService

public class InformationProviderServiceImpl
extends Object
implements org.apache.pluto.services.information.InformationProviderService, PortletContainerEnabled, Serviceable, Contextualizable

Our own information provider service

Version:
CVS $Id: InformationProviderServiceImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Field Summary
protected  Context context
          The component context
protected static String dynamicProviderRole
           
protected  ServiceManager manager
          The service manager
protected  PortletContainerEnvironmentImpl portletContainerEnvironment
          The portlet container environment
protected  PortalContextProviderImpl provider
          The portal context provider (thread safe)
protected  org.apache.pluto.services.information.StaticInformationProvider staticProvider
          The static information provider (thread safe)
 
Constructor Summary
InformationProviderServiceImpl()
           
 
Method Summary
 void contextualize(Context context)
           
 org.apache.pluto.services.information.DynamicInformationProvider getDynamicProvider(HttpServletRequest request)
           
protected  PortalContextProviderImpl getPortalContextProvider()
          Get the portal context provider We have to do a lazy initialization, as the provider needs the object model
 org.apache.pluto.services.information.StaticInformationProvider getStaticProvider()
           
 void service(ServiceManager manager)
           
 void setPortletContainerEnvironment(org.apache.pluto.services.PortletContainerEnvironment env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manager

protected ServiceManager manager
The service manager


portletContainerEnvironment

protected PortletContainerEnvironmentImpl portletContainerEnvironment
The portlet container environment


staticProvider

protected org.apache.pluto.services.information.StaticInformationProvider staticProvider
The static information provider (thread safe)


provider

protected PortalContextProviderImpl provider
The portal context provider (thread safe)


context

protected Context context
The component context


dynamicProviderRole

protected static final String dynamicProviderRole
Constructor Detail

InformationProviderServiceImpl

public InformationProviderServiceImpl()
Method Detail

setPortletContainerEnvironment

public void setPortletContainerEnvironment(org.apache.pluto.services.PortletContainerEnvironment env)
Specified by:
setPortletContainerEnvironment in interface PortletContainerEnabled

getStaticProvider

public org.apache.pluto.services.information.StaticInformationProvider getStaticProvider()
Specified by:
getStaticProvider in interface org.apache.pluto.services.information.InformationProviderService

getDynamicProvider

public org.apache.pluto.services.information.DynamicInformationProvider getDynamicProvider(HttpServletRequest request)
Specified by:
getDynamicProvider in interface org.apache.pluto.services.information.InformationProviderService

contextualize

public void contextualize(Context context)
                   throws ContextException
Specified by:
contextualize in interface Contextualizable
Throws:
ContextException

service

public void service(ServiceManager manager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException

getPortalContextProvider

protected PortalContextProviderImpl getPortalContextProvider()
Get the portal context provider We have to do a lazy initialization, as the provider needs the object model



Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.