org.apache.jetspeed.services.information
Class StaticInformationProviderImpl

java.lang.Object
  extended by org.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 516448 2007-03-09 16:25:47Z ate $
Author:
David Sean Taylor

Field Summary
private  org.apache.jetspeed.components.portletregistry.PortletRegistry portletRegistry
           
 
Constructor Summary
StaticInformationProviderImpl(org.apache.jetspeed.components.portletregistry.PortletRegistry portletRegistry)
           
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

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)

StaticInformationProviderImpl

public StaticInformationProviderImpl(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
Parameters:
arg0 -
Returns:
See Also:
StaticInformationProvider.getPortletDefinition(org.apache.pluto.om.common.ObjectID)


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