Class SimpleContainerScope

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.websocket.common.scopes.SimpleContainerScope
All Implemented Interfaces:
org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle, WebSocketContainerScope

public class SimpleContainerScope extends org.eclipse.jetty.util.component.ContainerLifeCycle implements WebSocketContainerScope
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container

    org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable

    org.eclipse.jetty.util.component.Dumpable.DumpableContainer

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

    org.eclipse.jetty.util.component.LifeCycle.Listener
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.eclipse.jetty.io.ByteBufferPool
     
    private final Executor
     
    private final org.eclipse.jetty.util.log.Logger
     
    private final org.eclipse.jetty.util.DecoratedObjectFactory
     
    private final WebSocketPolicy
     
     
    private org.eclipse.jetty.util.ssl.SslContextFactory
     

    Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING

    Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

    KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    SimpleContainerScope(WebSocketPolicy policy, org.eclipse.jetty.io.ByteBufferPool bufferPool)
     
    SimpleContainerScope(WebSocketPolicy policy, org.eclipse.jetty.io.ByteBufferPool bufferPool, Executor executor, org.eclipse.jetty.util.DecoratedObjectFactory objectFactory)
     
    SimpleContainerScope(WebSocketPolicy policy, org.eclipse.jetty.io.ByteBufferPool bufferPool, Executor executor, org.eclipse.jetty.util.ssl.SslContextFactory ssl, org.eclipse.jetty.util.DecoratedObjectFactory objectFactory)
     
    SimpleContainerScope(WebSocketPolicy policy, org.eclipse.jetty.io.ByteBufferPool bufferPool, org.eclipse.jetty.util.DecoratedObjectFactory objectFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.eclipse.jetty.io.ByteBufferPool
    The configured Container Buffer Pool.
    Executor in use by the container.
    org.eclipse.jetty.util.DecoratedObjectFactory
    Object Factory used to create objects.
    The policy the container is running on.
     
    org.eclipse.jetty.util.ssl.SslContextFactory
    The SslContextFactory in use by the container.
    void
     
    void
    setSslContextFactory(org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory)
     

    Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle

    addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans

    Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.util.component.Dumpable

    dumpSelf

    Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer

    isDumpable

    Methods inherited from interface org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope

    getClassLoader, isRunning
  • Field Details

    • bufferPool

      private final org.eclipse.jetty.io.ByteBufferPool bufferPool
    • objectFactory

      private final org.eclipse.jetty.util.DecoratedObjectFactory objectFactory
    • policy

      private final WebSocketPolicy policy
    • executor

      private final Executor executor
    • logger

      private final org.eclipse.jetty.util.log.Logger logger
    • sslContextFactory

      private org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory
    • sessionListeners

      private List<WebSocketSessionListener> sessionListeners
  • Constructor Details

    • SimpleContainerScope

      public SimpleContainerScope(WebSocketPolicy policy)
    • SimpleContainerScope

      public SimpleContainerScope(WebSocketPolicy policy, org.eclipse.jetty.io.ByteBufferPool bufferPool)
    • SimpleContainerScope

      public SimpleContainerScope(WebSocketPolicy policy, org.eclipse.jetty.io.ByteBufferPool bufferPool, org.eclipse.jetty.util.DecoratedObjectFactory objectFactory)
    • SimpleContainerScope

      public SimpleContainerScope(WebSocketPolicy policy, org.eclipse.jetty.io.ByteBufferPool bufferPool, Executor executor, org.eclipse.jetty.util.DecoratedObjectFactory objectFactory)
    • SimpleContainerScope

      public SimpleContainerScope(WebSocketPolicy policy, org.eclipse.jetty.io.ByteBufferPool bufferPool, Executor executor, org.eclipse.jetty.util.ssl.SslContextFactory ssl, org.eclipse.jetty.util.DecoratedObjectFactory objectFactory)
  • Method Details