org.apache.jetspeed.services
Class JetspeedPortletServices

java.lang.Object
  extended by org.apache.jetspeed.services.JetspeedPortletServices
All Implemented Interfaces:
PortletServices

public class JetspeedPortletServices
extends Object
implements PortletServices

JetspeedPortletServices

Version:
$Id: JetspeedPortletServices.java 516448 2007-03-09 16:25:47Z ate $
Author:
David Sean Taylor

Field Summary
private  Map services
           
private static PortletServices singleton
           
 
Constructor Summary
JetspeedPortletServices()
           
JetspeedPortletServices(Map services)
           
 
Method Summary
 void addPortletService(String serviceName, Object service)
           
 Object getService(String serviceName)
           
static PortletServices getSingleton()
          Necessary evil until we get a PA component framework
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

services

private Map services

singleton

private static PortletServices singleton
Constructor Detail

JetspeedPortletServices

public JetspeedPortletServices()

JetspeedPortletServices

public JetspeedPortletServices(Map services)
Method Detail

getSingleton

public static PortletServices getSingleton()
Necessary evil until we get a PA component framework

Returns:

addPortletService

public void addPortletService(String serviceName,
                              Object service)
Specified by:
addPortletService in interface PortletServices

getService

public Object getService(String serviceName)
Specified by:
getService in interface PortletServices


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