org.apache.jetspeed.services.information
Class StaticInformationProviderImpl

java.lang.Object
  extended byorg.apache.jetspeed.services.information.StaticInformationProviderImpl
All Implemented Interfaces:
org.apache.pluto.services.information.StaticInformationProvider

public class StaticInformationProviderImpl
extends Object
implements org.apache.pluto.services.information.StaticInformationProvider

Provides static information to Pluto Container: 1. PortletDefinition - given a unique registry id, retrieve the portlet definition from the portlet registry

Version:
$Id: StaticInformationProviderImpl.java 225615 2005-07-27 20:33:08Z weaver $
Author:
David Sean Taylor

Field Summary
private  javax.servlet.ServletConfig config
           
private  org.apache.pluto.services.information.PortalContextProvider portalContextProvider
           
private  org.apache.jetspeed.components.portletregistry.PortletRegistry portletRegistry
           
 
Constructor Summary
StaticInformationProviderImpl(javax.servlet.ServletConfig config, org.apache.pluto.services.information.PortalContextProvider portalContextProvider, org.apache.jetspeed.components.portletregistry.PortletRegistry portletRegistry)
           
 
Method Summary
 org.apache.pluto.services.information.PortalContextProvider getPortalContextProvider()
           getPortalContextProvider
 org.apache.pluto.om.portlet.PortletDefinition getPortletDefinition(org.apache.pluto.om.common.ObjectID id)
           getPortletDefinition
 org.apache.pluto.om.portlet.PortletDefinition getPortletDefinition(String uniqueId)
          Given a unique registry id, retrieve the portlet definition from the portlet registry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

private final javax.servlet.ServletConfig config

portalContextProvider

private final org.apache.pluto.services.information.PortalContextProvider portalContextProvider

portletRegistry

private final org.apache.jetspeed.components.portletregistry.PortletRegistry portletRegistry
Constructor Detail

StaticInformationProviderImpl

public StaticInformationProviderImpl(javax.servlet.ServletConfig config,
                                     org.apache.pluto.services.information.PortalContextProvider portalContextProvider,
                                     org.apache.jetspeed.components.portletregistry.PortletRegistry portletRegistry)
Method Detail

getPortletDefinition

public org.apache.pluto.om.portlet.PortletDefinition getPortletDefinition(String uniqueId)
Given a unique registry id, retrieve the portlet definition from the portlet registry

Parameters:
uniqueId - The uniquely identifying portlet id in the registry

getPortalContextProvider

public org.apache.pluto.services.information.PortalContextProvider getPortalContextProvider()

getPortalContextProvider

Specified by:
getPortalContextProvider in interface org.apache.pluto.services.information.StaticInformationProvider
Returns:
See Also:
StaticInformationProvider.getPortalContextProvider()

getPortletDefinition

public org.apache.pluto.om.portlet.PortletDefinition getPortletDefinition(org.apache.pluto.om.common.ObjectID id)

getPortletDefinition

Specified by:
getPortletDefinition in interface org.apache.pluto.services.information.StaticInformationProvider
Returns:
See Also:
StaticInformationProvider.getPortletDefinition(org.apache.pluto.om.common.ObjectID)


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.