submarine.core
Interface PoolingFunctionWithContext

All Superinterfaces:
PoolingFunction, XMLConfigurable
All Known Implementing Classes:
FileSystemConnector, JDBCPooler

public interface PoolingFunctionWithContext
extends PoolingFunction

This interface extends the PoolingFunction interface. The main objective is to allows implementors to add informations to the context using the attributes of the message context.


Method Summary
 java.lang.Object getNextDocument(Message.MsgContext context)
          Same logic than PoolingFunction.getNextDocument() but receive as parameter a MsgContext that can be changed.
 
Methods inherited from interface submarine.core.PoolingFunction
getFrequency, getNextDocument, getRouteInfos, hasNewDocument, notifyResponse
 
Methods inherited from interface submarine.core.XMLConfigurable
init
 

Method Detail

getNextDocument

public java.lang.Object getNextDocument(Message.MsgContext context)
                                 throws java.lang.Exception
Same logic than PoolingFunction.getNextDocument() but receive as parameter a MsgContext that can be changed.

Submarine project. free distribution of this software must include the opensource licence.
Guénolé de Cadoudal.