org.mule.umo.provider
Interface UMOSessionHandler

All Known Implementing Classes:
HttpSessionHandler, MuleSessionHandler, NullSessionHandler

public interface UMOSessionHandler

An interface used for reading and writing session information to and from the current message.


Method Summary
 String getSessionIDKey()
          The property name of the session id to use when creating the Mule session.
 void retrieveSessionInfoFromMessage(UMOMessage message, UMOSession session)
           
 void storeSessionInfoToMessage(UMOSession session, UMOMessage message)
           
 

Method Detail

storeSessionInfoToMessage

void storeSessionInfoToMessage(UMOSession session,
                               UMOMessage message)
                               throws UMOException
Throws:
UMOException

retrieveSessionInfoFromMessage

void retrieveSessionInfoFromMessage(UMOMessage message,
                                    UMOSession session)
                                    throws UMOException
Throws:
UMOException

getSessionIDKey

String getSessionIDKey()
The property name of the session id to use when creating the Mule session. by default the property name "ID" will be used. If no property was set on the session called "ID" a session id will be automatically generated

Returns:
the property name of the session id that is set on the session


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.