org.apache.synapse.endpoints.dispatch
Class AbstractDispatcher

java.lang.Object
  extended by org.apache.synapse.endpoints.dispatch.AbstractDispatcher
All Implemented Interfaces:
Dispatcher
Direct Known Subclasses:
HttpSessionDispatcher, SimpleClientSessionDispatcher, SoapSessionDispatcher

public abstract class AbstractDispatcher
extends Object
implements Dispatcher


Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
protected AbstractDispatcher()
           
 
Method Summary
protected  String extractSessionID(MessageContext synCtx, String key)
           
protected  String extractSessionID(OMElement header, QName keyQName)
           
 List<Endpoint> getEndpoints(SessionInformation sessionInformation)
          Returns the endpoint sequence associated with current session with out root
protected  void removeSessionID(MessageContext synCtx, String key)
           
protected  void removeSessionID(OMElement header, QName keyQName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.synapse.endpoints.dispatch.Dispatcher
getSession, isServerInitiatedSession, removeSessionID, unbind, updateSession
 

Field Detail

log

protected org.apache.commons.logging.Log log
Constructor Detail

AbstractDispatcher

protected AbstractDispatcher()
Method Detail

getEndpoints

public List<Endpoint> getEndpoints(SessionInformation sessionInformation)
Description copied from interface: Dispatcher
Returns the endpoint sequence associated with current session with out root

Specified by:
getEndpoints in interface Dispatcher
Parameters:
sessionInformation - Current Session information
Returns:
Endpoint sequence

extractSessionID

protected String extractSessionID(OMElement header,
                                  QName keyQName)

extractSessionID

protected String extractSessionID(MessageContext synCtx,
                                  String key)

removeSessionID

protected void removeSessionID(MessageContext synCtx,
                               String key)

removeSessionID

protected void removeSessionID(OMElement header,
                               QName keyQName)


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.