org.codehaus.wadi.core.contextualiser
Interface Relocater

All Known Implementing Classes:
HybridRelocater

public interface Relocater

Abstracts out a strategy for either request or state relocation. This is necessary to ensure that a request is processed in the same node as its state.

Version:
$Revision: 2274 $
Author:
Jules Gosnell

Method Summary
 boolean relocate(Invocation invocation, java.lang.String name, Immoter immoter, boolean shuttingDown)
          Either relocate the request to the session by proxying/redirection, or the session to the request, by migration...
 

Method Detail

relocate

boolean relocate(Invocation invocation,
                 java.lang.String name,
                 Immoter immoter,
                 boolean shuttingDown)
                 throws InvocationException
Either relocate the request to the session by proxying/redirection, or the session to the request, by migration...

Parameters:
invocation -
name -
immoter -
b -
Returns:
- whether, or not, the request was contextualised
Throws:
InvocationException


Copyright © 2008. All Rights Reserved.