Class TransportManagerProvider

java.lang.Object
com.levigo.jadice.web.transport.server.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 Summary

    Modifier and Type
    Method
    Description
    static com.levigo.jadice.web.transport.server.session.internal.TransportManagerInternal
    get()
    For some supporting the old API, we need to be able to get the TransportManager without a context.
    getFromServletContext(jakarta.servlet.ServletContext servletContext)
    Deprecated.
    we don't want to store the TransportManager in the ServletContext anymore, that's not the Spring way
    static void
    removeFromServletContext(jakarta.servlet.ServletContext servletContext)
    Removes the com.levigo.jadice.web.server.WebtoolkitServerContext "singleton" instance from the ServletContext.
    static void
    set(com.levigo.jadice.web.transport.server.session.internal.impl.TransportManagerImpl tm)
    Deprecated.
    for Testing only

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • get

      public static com.levigo.jadice.web.transport.server.session.internal.TransportManagerInternal get()
      For some supporting the old API, we need to be able to get the TransportManager 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

      @Deprecated public static TransportManager getFromServletContext(jakarta.servlet.ServletContext servletContext)
      Deprecated.
      we don't want to store the TransportManager in the ServletContext anymore, that's not the Spring way
      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(jakarta.servlet.ServletContext servletContext)
      Removes the com.levigo.jadice.web.server.WebtoolkitServerContext "singleton" instance from the ServletContext.
      Parameters:
      servletContext - the ServletContext