net.sf.jportlet.impl
Class PortletServiceFactoryImpl

java.lang.Object
  |
  +--net.sf.jportlet.impl.PortletServiceFactoryImpl
All Implemented Interfaces:
PortletServiceFactory

public class PortletServiceFactoryImpl
extends java.lang.Object
implements PortletServiceFactory

Implementation of PortletServiceFactory

Author:
Herve Tchepannou

Field Summary
static java.lang.String _CLASS
           
static java.lang.String JPORTLET_SERVICES
           
 
Constructor Summary
PortletServiceFactoryImpl(net.sf.jportlet.portlet.application.PortletApplication application)
           
 
Method Summary
 void destroy()
           
 net.sf.jportlet.service.PortletService getPortletService(java.lang.String name)
          Return a PortletService by its name
 void init(java.io.InputStream in, javax.servlet.ServletConfig servletConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JPORTLET_SERVICES

public static final java.lang.String JPORTLET_SERVICES
See Also:
Constant Field Values

_CLASS

public static final java.lang.String _CLASS
See Also:
Constant Field Values
Constructor Detail

PortletServiceFactoryImpl

public PortletServiceFactoryImpl(net.sf.jportlet.portlet.application.PortletApplication application)
Method Detail

init

public void init(java.io.InputStream in,
                 javax.servlet.ServletConfig servletConfig)
          throws PortletServiceException
PortletServiceException

destroy

public void destroy()

getPortletService

public net.sf.jportlet.service.PortletService getPortletService(java.lang.String name)
                                                         throws PortletServiceNotFoundException,
                                                                PortletServiceUnavailableException
Description copied from interface: PortletServiceFactory
Return a PortletService by its name

Specified by:
getPortletService in interface PortletServiceFactory
Parameters:
name - name of the service
Returns:
Service requested
Throws:
PortletServiceUnavailableException - if the service is not available
PortletServiceNotFoundException - if the service not found
See Also:
PortletServiceFactory.getPortletService(java.lang.String)


Copyright © 2002 Herve Tchepannou. All Rights Reserved.