net.sf.jportlet.service
Interface PortletService

All Known Subinterfaces:
CacheService, HibernateService, InterceptorFactoryService, JDBCService, LoginService, MailService, PortletPageService, SSIFactoryService, VelocityService, WebflowService
All Known Implementing Classes:
CacheServiceImpl, HibernateServiceImpl, InterceptorFactoryServiceImpl, JDBCServiceImpl, LoginServiceImpl, MailServiceImpl, PortletPageServiceImpl, PortletServiceAdapter, SSIFactoryServiceImpl, VelocityServiceImpl, WebflowServiceImpl

public interface PortletService

The PortletService interface is the base for all portlet services. Portlets can obtain portlet service instances by calling the method PortletContext.getService(java.lang.String)

Author:
Herve Tchepannou

Method Summary
 void destroy()
          Destroy the service
 net.sf.jportlet.service.PortletServiceConfig getServiceConfig()
          Return the configuration of the service
 java.lang.String getServiceName()
          Returns the name of the service
 void init(net.sf.jportlet.service.PortletServiceConfig config)
          Initialize the service
 

Method Detail

destroy

public void destroy()
Destroy the service


init

public void init(net.sf.jportlet.service.PortletServiceConfig config)
          throws PortletServiceException
Initialize the service

Parameters:
config - configuration of the service
Throws:
PortletException
PortletServiceException

getServiceName

public java.lang.String getServiceName()
Returns the name of the service

Returns:
String

getServiceConfig

public net.sf.jportlet.service.PortletServiceConfig getServiceConfig()
Return the configuration of the service

Returns:


Copyright © 2002 Herve Tchepannou. All Rights Reserved.