net.sf.jportlet.service
Class PortletServiceAdapter

java.lang.Object
  |
  +--net.sf.jportlet.service.PortletServiceAdapter
All Implemented Interfaces:
PortletService
Direct Known Subclasses:
CacheServiceImpl, HibernateServiceImpl, InterceptorFactoryServiceImpl, JDBCServiceImpl, LoginServiceImpl, MailServiceImpl, PortletPageServiceImpl, SSIFactoryServiceImpl, UserServiceJDBC, VelocityServiceImpl, WebflowServiceImpl

public abstract class PortletServiceAdapter
extends java.lang.Object
implements PortletService

Base class of all PortletService

Author:
Herve Tchepannou

Field Summary
protected  org.apache.commons.logging.Log _log
           
protected  net.sf.jportlet.service.PortletServiceConfig _serviceConfig
           
protected  net.sf.jportlet.service.PortletServiceContext _serviceContext
           
 
Constructor Summary
PortletServiceAdapter()
           
 
Method Summary
 void destroy()
          Destroy the service
 java.lang.String getInitParameter(java.lang.String name)
           
 java.lang.String getInitParameter(java.lang.String name, java.lang.String defaultValue)
           
 net.sf.jportlet.service.PortletServiceConfig getServiceConfig()
          Return the configuration of the service
 void init(net.sf.jportlet.service.PortletServiceConfig config)
          Initialize the service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jportlet.service.PortletService
getServiceName
 

Field Detail

_log

protected org.apache.commons.logging.Log _log

_serviceConfig

protected net.sf.jportlet.service.PortletServiceConfig _serviceConfig

_serviceContext

protected net.sf.jportlet.service.PortletServiceContext _serviceContext
Constructor Detail

PortletServiceAdapter

public PortletServiceAdapter()
Method Detail

destroy

public void destroy()
Description copied from interface: PortletService
Destroy the service

Specified by:
destroy in interface PortletService
See Also:
PortletService.destroy()

init

public void init(net.sf.jportlet.service.PortletServiceConfig config)
          throws PortletServiceException
Description copied from interface: PortletService
Initialize the service

Specified by:
init in interface PortletService
Parameters:
config - configuration of the service
PortletServiceException
See Also:
PortletService.init(net.sf.jportlet.service.PortletServiceConfig)

getInitParameter

public java.lang.String getInitParameter(java.lang.String name)

getInitParameter

public java.lang.String getInitParameter(java.lang.String name,
                                         java.lang.String defaultValue)

getServiceConfig

public net.sf.jportlet.service.PortletServiceConfig getServiceConfig()
Description copied from interface: PortletService
Return the configuration of the service

Specified by:
getServiceConfig in interface PortletService
Returns:
See Also:
PortletService.getServiceConfig()


Copyright © 2002 Herve Tchepannou. All Rights Reserved.