com.ibm.workplace.wcm.api
Interface ContextProcessor


public interface ContextProcessor

Represents a context processor.

A context processor is used to modify the context of the Local Rendering Portlet at runtime.

A context processor must be registered by setting the parameter ContextProcessorClass to the full class name of the context processor within the Local Rendering Portlet Configuration.

Each context processor must also have a constructor with no arguments

Although only one context processor can be registered per portlet instance, the ContextProcessorClass parameter can be specified in the request parameters to override the context processor for the current request. Additionally, setting ContextProcessorClass to NONE will disable the context processor.


Method Summary
 void process(javax.servlet.http.HttpSession p_currentSession, ContextProcessorParams p_contextProcessorParams)
          Processes the supplied ContextProcessorParams and updates parameters within as necessary
 

Method Detail

process

void process(javax.servlet.http.HttpSession p_currentSession,
             ContextProcessorParams p_contextProcessorParams)
Processes the supplied ContextProcessorParams and updates parameters within as necessary

Parameters:
p_currentSession - The current Http Session
p_contextProcessorParams - The editable ContextProcessorParams object