org.codehaus.wadi.impl
Class StreamingMigratingRelocater

java.lang.Object
  extended byorg.codehaus.wadi.impl.StreamingMigratingRelocater
All Implemented Interfaces:
Relocater, SessionRelocater

public class StreamingMigratingRelocater
extends Object
implements SessionRelocater


Field Summary
protected  RelocaterConfig _config
           
 
Constructor Summary
StreamingMigratingRelocater()
           
 
Method Summary
 void destroy()
           
 void init(RelocaterConfig config)
           
 boolean relocate(InvocationContext invocationContext, String name, Immoter immoter, Sync motionLock)
          Either relocate the request to the session by proxying/redirection, or the session to the request, by migration...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_config

protected RelocaterConfig _config
Constructor Detail

StreamingMigratingRelocater

public StreamingMigratingRelocater()
Method Detail

init

public void init(RelocaterConfig config)
Specified by:
init in interface Relocater

destroy

public void destroy()
Specified by:
destroy in interface Relocater

relocate

public boolean relocate(InvocationContext invocationContext,
                        String name,
                        Immoter immoter,
                        Sync motionLock)
                 throws InvocationException
Description copied from interface: Relocater
Either relocate the request to the session by proxying/redirection, or the session to the request, by migration...

Specified by:
relocate in interface Relocater
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.