org.codehaus.wadi.impl
Class RedirectingRelocater
java.lang.Object
org.codehaus.wadi.impl.AbstractRelocater
org.codehaus.wadi.impl.RedirectingRelocater
- All Implemented Interfaces:
- Relocater, RequestRelocater
- public class RedirectingRelocater
- extends AbstractRelocater
- implements RequestRelocater
Relocate the request to its state, by redirecting it to another node.
This is only possible if, for example, the load balancer is using routing information
to decide which node to dispatch stateful requests to. If this is the case, we may be
able rewrite this to achieve our desired effect.
- Version:
- $Revision: 1430 $
- Author:
- Jules Gosnell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RedirectingRelocater
public RedirectingRelocater()
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
setTop
public void setTop(Contextualiser top)
getTop
public Contextualiser getTop()
Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.