fr.paris.lutece.plugins.comarquage.util.cache
Interface IChainNode

All Known Implementing Classes:
AbstractAccessor, AbstractCache, AbstractChainNode, AbstractFilter, AjoutLocalFilter, DiskCache, EmptyFilter, HttpAccess, LimitedAccess, LocalDiskCache, LogTimeAccess, MemCache, SwitcherAccess, XmlHeaderCheckFilter, XmlValidatorFilter, XslFilter

public interface IChainNode

A cache/filter that work to find/filter a ressource


Method Summary
 java.lang.String getImplementationDescription()
          Return the description of this filter's implementation
 java.lang.String getImplementationName()
          Return the name of this filter's implementation
 java.lang.Object getObject(IContextChainManager filterManager, java.io.Serializable key, java.lang.Object element)
          Research an object in the cache section
If cache/filter find the object from a "source", he must call @link #doFilter(IContextChainManager, Serializable, Object) before returning the object.
 void init(java.lang.String strBase)
          Init the instance with params based on prefix strBase
 

Method Detail

init

void init(java.lang.String strBase)
Init the instance with params based on prefix strBase

Parameters:
strBase - The prefix of params to search

getImplementationName

java.lang.String getImplementationName()
Return the name of this filter's implementation

Returns:
the name of this filter's implementation

getImplementationDescription

java.lang.String getImplementationDescription()
Return the description of this filter's implementation

Returns:
the description of this filter's implementation

getObject

java.lang.Object getObject(IContextChainManager filterManager,
                           java.io.Serializable key,
                           java.lang.Object element)
Research an object in the cache section
If cache/filter find the object from a "source", he must call @link #doFilter(IContextChainManager, Serializable, Object) before returning the object.

Parameters:
filterManager - Context calling manager (needed to call some service or next element in filter's chain)
key - The unique key of object
element - The element to work (null if no element given)
Returns:
The resolved object or null if no object found


Copyright © 2012 Mairie de Paris. All Rights Reserved.