net.sf.jportlet.service.cache
Class CacheServiceImpl

java.lang.Object
  |
  +--net.sf.jportlet.service.PortletServiceAdapter
        |
        +--net.sf.jportlet.service.cache.CacheServiceImpl
All Implemented Interfaces:
CacheService, PortletService

public class CacheServiceImpl
extends PortletServiceAdapter
implements CacheService

Implementation of CacheService

Author:
Herve Tchepannou

Field Summary
 
Fields inherited from class net.sf.jportlet.service.PortletServiceAdapter
_log, _serviceConfig, _serviceContext
 
Fields inherited from interface net.sf.jportlet.service.cache.CacheService
NAME
 
Constructor Summary
CacheServiceImpl()
           
 
Method Summary
 void destroy()
          Destroy the service
 net.sf.jportlet.service.cache.CacheRegion getRegion(java.lang.Object id, boolean create)
           
 java.lang.String getServiceName()
          Returns the name of the service
 void init(net.sf.jportlet.service.PortletServiceConfig serviceConfig)
          Initialize the service
 
Methods inherited from class net.sf.jportlet.service.PortletServiceAdapter
getInitParameter, getInitParameter, getServiceConfig
 
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
getServiceConfig
 

Constructor Detail

CacheServiceImpl

public CacheServiceImpl()
Method Detail

destroy

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

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

getRegion

public net.sf.jportlet.service.cache.CacheRegion getRegion(java.lang.Object id,
                                                           boolean create)
Specified by:
getRegion in interface CacheService
See Also:
CacheService.getRegion(java.lang.Object, boolean)

getServiceName

public java.lang.String getServiceName()
Description copied from interface: PortletService
Returns the name of the service

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

init

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

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


Copyright © 2002 Herve Tchepannou. All Rights Reserved.