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, Executor executor, DecoratedObjectFactory objectFactory)
Deprecated.SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool, 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 void
addSessionListener(WebSocketSessionListener listener)
Deprecated.ByteBufferPool
getBufferPool()
Deprecated.The configured Container Buffer Pool.Executor
getExecutor()
Deprecated.Executor in use by the container.DecoratedObjectFactory
getObjectFactory()
Deprecated.Object Factory used to create objects.WebSocketPolicy
getPolicy()
Deprecated.The policy the container is running on.Collection<WebSocketSessionListener>
getSessionListeners()
Deprecated.SslContextFactory
getSslContextFactory()
Deprecated.The SslContextFactory in use by the container.void
removeSessionListener(WebSocketSessionListener listener)
Deprecated.void
setSslContextFactory(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, Executor executor, DecoratedObjectFactory objectFactory)
Deprecated.
-
SimpleContainerScope
public SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool, Executor executor, SslContextFactory ssl, DecoratedObjectFactory objectFactory)
Deprecated.
-
-
Method Detail
-
getBufferPool
public ByteBufferPool getBufferPool()
Deprecated.Description copied from interface:WebSocketContainerScope
The configured Container Buffer Pool.- Specified by:
getBufferPool
in interfaceWebSocketContainerScope
- Returns:
- the buffer pool (never null)
-
getExecutor
public Executor getExecutor()
Deprecated.Description copied from interface:WebSocketContainerScope
Executor in use by the container.- Specified by:
getExecutor
in interfaceWebSocketContainerScope
- Returns:
- the Executor in use by the container.
-
getObjectFactory
public DecoratedObjectFactory getObjectFactory()
Deprecated.Description copied from interface:WebSocketContainerScope
Object Factory used to create objects.- Specified by:
getObjectFactory
in interfaceWebSocketContainerScope
- Returns:
- Object Factory used to create instances of objects.
-
getPolicy
public WebSocketPolicy getPolicy()
Deprecated.Description copied from interface:WebSocketContainerScope
The policy the container is running on.- Specified by:
getPolicy
in interfaceWebSocketContainerScope
- Returns:
- the websocket policy
-
getSslContextFactory
public SslContextFactory getSslContextFactory()
Deprecated.Description copied from interface:WebSocketContainerScope
The SslContextFactory in use by the container.- Specified by:
getSslContextFactory
in 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:
addSessionListener
in interfaceWebSocketContainerScope
-
removeSessionListener
public void removeSessionListener(WebSocketSessionListener listener)
Deprecated.- Specified by:
removeSessionListener
in interfaceWebSocketContainerScope
-
getSessionListeners
public Collection<WebSocketSessionListener> getSessionListeners()
Deprecated.- Specified by:
getSessionListeners
in interfaceWebSocketContainerScope
-
-