org.codehaus.wadi
Interface Relocater
- All Known Subinterfaces:
- RequestRelocater, SessionRelocater
- All Known Implementing Classes:
- AbstractRelocater, DummyRelocater, RedirectingRelocater, StreamingMigratingRelocater
- 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: 1430 $
- Author:
- Jules Gosnell
init
public void init(RelocaterConfig config)
destroy
public void destroy()
relocate
public boolean relocate(InvocationContext invocationContext,
String name,
Immoter immoter,
Sync motionLock)
throws InvocationException
- Either relocate the request to the session by proxying/redirection, or the session to the request, by migration...
- Parameters:
invocationContext
- name
- immoter
- motionLock
-
- Returns:
- - whether, or not, the request was contextualised
- Throws:
InvocationException
Copyright © 2004-2008 Core Developers Network Ltd.. All Rights Reserved.