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:
Container,Destroyable,Dumpable,Dumpable.DumpableContainer,LifeCycle,WebSocketContainerScope
@Deprecated(since="2021-05-27") public class SimpleContainerScope extends ContainerLifeCycle implements WebSocketContainerScope
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.Listener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
-
Constructor Summary
Constructors Constructor Description SimpleContainerScope(WebSocketPolicy policy)Deprecated.SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool)Deprecated.SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool, java.util.concurrent.Executor executor, DecoratedObjectFactory objectFactory)Deprecated.SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool, java.util.concurrent.Executor executor, SslContextFactory ssl, DecoratedObjectFactory objectFactory)Deprecated.SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool, DecoratedObjectFactory objectFactory)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddSessionListener(WebSocketSessionListener listener)Deprecated.ByteBufferPoolgetBufferPool()Deprecated.The configured Container Buffer Pool.java.util.concurrent.ExecutorgetExecutor()Deprecated.Executor in use by the container.DecoratedObjectFactorygetObjectFactory()Deprecated.Object Factory used to create objects.WebSocketPolicygetPolicy()Deprecated.The policy the container is running on.java.util.Collection<WebSocketSessionListener>getSessionListeners()Deprecated.SslContextFactorygetSslContextFactory()Deprecated.The SslContextFactory in use by the container.voidremoveSessionListener(WebSocketSessionListener listener)Deprecated.voidsetSslContextFactory(SslContextFactory sslContextFactory)Deprecated.-
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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
-
-
-
-
Constructor Detail
-
SimpleContainerScope
public SimpleContainerScope(WebSocketPolicy policy)
Deprecated.
-
SimpleContainerScope
public SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool)
Deprecated.
-
SimpleContainerScope
public SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool, DecoratedObjectFactory objectFactory)
Deprecated.
-
SimpleContainerScope
public SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool, java.util.concurrent.Executor executor, DecoratedObjectFactory objectFactory)
Deprecated.
-
SimpleContainerScope
public SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool, java.util.concurrent.Executor executor, SslContextFactory ssl, DecoratedObjectFactory objectFactory)
Deprecated.
-
-
Method Detail
-
getBufferPool
public ByteBufferPool getBufferPool()
Deprecated.Description copied from interface:WebSocketContainerScopeThe configured Container Buffer Pool.- Specified by:
getBufferPoolin interfaceWebSocketContainerScope- Returns:
- the buffer pool (never null)
-
getExecutor
public java.util.concurrent.Executor getExecutor()
Deprecated.Description copied from interface:WebSocketContainerScopeExecutor in use by the container.- Specified by:
getExecutorin interfaceWebSocketContainerScope- Returns:
- the Executor in use by the container.
-
getObjectFactory
public DecoratedObjectFactory getObjectFactory()
Deprecated.Description copied from interface:WebSocketContainerScopeObject Factory used to create objects.- Specified by:
getObjectFactoryin interfaceWebSocketContainerScope- Returns:
- Object Factory used to create instances of objects.
-
getPolicy
public WebSocketPolicy getPolicy()
Deprecated.Description copied from interface:WebSocketContainerScopeThe policy the container is running on.- Specified by:
getPolicyin interfaceWebSocketContainerScope- Returns:
- the websocket policy
-
getSslContextFactory
public SslContextFactory getSslContextFactory()
Deprecated.Description copied from interface:WebSocketContainerScopeThe SslContextFactory in use by the container.- Specified by:
getSslContextFactoryin interfaceWebSocketContainerScope- Returns:
- the SslContextFactory in use by the container (can be null if no SSL context is defined)
-
setSslContextFactory
public void setSslContextFactory(SslContextFactory sslContextFactory)
Deprecated.
-
addSessionListener
public void addSessionListener(WebSocketSessionListener listener)
Deprecated.- Specified by:
addSessionListenerin interfaceWebSocketContainerScope
-
removeSessionListener
public void removeSessionListener(WebSocketSessionListener listener)
Deprecated.- Specified by:
removeSessionListenerin interfaceWebSocketContainerScope
-
getSessionListeners
public java.util.Collection<WebSocketSessionListener> getSessionListeners()
Deprecated.- Specified by:
getSessionListenersin interfaceWebSocketContainerScope
-
-