Class TransportManagerProvider


  • public class TransportManagerProvider
    extends Object
    A TransportManager is the core of the transport layer. It manages both: component-client interactions and client-transport methods.
    • Client-component interactions
      ...are interactions from a component with a MessageClient.
    • Client-transport methods
      ...are interactions from a client with a transport Method.
    Furthermore various ClientSessionListener can be registered in order to get notified on certain client-transport-events.
    • Method Detail

      • get

        @Deprecated
        public static com.levigo.jadice.web.transport.server.session.internal.TransportManagerInternal get()
        Deprecated.
        For some supporting the old API, we need to be able to get the TransportMangager without a context.
      • set

        @Deprecated
        public static void set​(com.levigo.jadice.web.transport.server.session.internal.impl.TransportManagerImpl tm)
        Deprecated.
        for Testing only
      • getFromServletContext

        public static TransportManager getFromServletContext​(javax.servlet.ServletContext servletContext)
        Gets the com.levigo.jadice.web.server.WebtoolkitServerContext "singleton" instance from the ServletContext.
        Parameters:
        servletContext - the ServletContext
        Returns:
        the "singleton" instance
      • removeFromServletContext

        public static void removeFromServletContext​(javax.servlet.ServletContext servletContext)
        Removes the com.levigo.jadice.web.server.WebtoolkitServerContext "singleton" instance from the ServletContext.
        Parameters:
        servletContext - the ServletContext