Class 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
    • Constructor Detail

      • NullRedirector

        public NullRedirector()
    • 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 interface Redirector
        userId - Not null.
        Returns:
        Possibly null.
        Throws:
        Glacier2.CannotCreateSessionException