Package ome.services.blitz.redirect
Class NullRedirector
- java.lang.Object
-
- ome.services.blitz.redirect.NullRedirector
-
- All Implemented Interfaces:
Redirector
public class NullRedirector extends java.lang.Object implements Redirector
Redirector
implementation to effectively disable redirects.- Since:
- Beta-4.0-RC2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ome.services.blitz.redirect.Redirector
Redirector.Context
-
-
Constructor Summary
Constructors Constructor Description NullRedirector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
chooseNextRedirect(Redirector.Context context, java.util.Set<java.lang.String> nodeUuids)
Does nothing.Glacier2.SessionPrx
getProxyOrNull(Redirector.Context context, java.lang.String userId, Glacier2.SessionControlPrx control, Ice.Current current)
Always returns nullvoid
handleRingShutdown(Redirector.Context context, java.lang.String uuid)
Does nothing.
-
-
-
Method Detail
-
getProxyOrNull
public Glacier2.SessionPrx getProxyOrNull(Redirector.Context context, java.lang.String userId, Glacier2.SessionControlPrx control, Ice.Current current) throws Glacier2.CannotCreateSessionException
Always returns null- Specified by:
getProxyOrNull
in interfaceRedirector
userId
- Not null.- Returns:
- Possibly null.
- Throws:
Glacier2.CannotCreateSessionException
-
chooseNextRedirect
public void chooseNextRedirect(Redirector.Context context, java.util.Set<java.lang.String> nodeUuids)
Does nothing.- Specified by:
chooseNextRedirect
in interfaceRedirector
-
handleRingShutdown
public void handleRingShutdown(Redirector.Context context, java.lang.String uuid)
Does nothing.- Specified by:
handleRingShutdown
in interfaceRedirector
-
-