public class SimpleContainerScope extends ContainerLifeCycle implements WebSocketContainerScope
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.Listener| Constructor and Description |
|---|
SimpleContainerScope(WebSocketPolicy policy) |
SimpleContainerScope(WebSocketPolicy policy,
ByteBufferPool bufferPool) |
SimpleContainerScope(WebSocketPolicy policy,
ByteBufferPool bufferPool,
DecoratedObjectFactory objectFactory) |
SimpleContainerScope(WebSocketPolicy policy,
ByteBufferPool bufferPool,
Executor executor,
DecoratedObjectFactory objectFactory) |
SimpleContainerScope(WebSocketPolicy policy,
ByteBufferPool bufferPool,
Executor executor,
SslContextFactory ssl,
DecoratedObjectFactory objectFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSessionListener(WebSocketSessionListener listener) |
ByteBufferPool |
getBufferPool()
The configured Container Buffer Pool.
|
Executor |
getExecutor()
Executor in use by the container.
|
DecoratedObjectFactory |
getObjectFactory()
Object Factory used to create objects.
|
WebSocketPolicy |
getPolicy()
The policy the container is running on.
|
Collection<WebSocketSessionListener> |
getSessionListeners() |
SslContextFactory |
getSslContextFactory()
The SslContextFactory in use by the container.
|
void |
removeSessionListener(WebSocketSessionListener listener) |
void |
setSslContextFactory(SslContextFactory sslContextFactory) |
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, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitisRunningdumpContainer, dumpIterable, dumpMapEntries, dumpObjects, dumpSelf, namedpublic SimpleContainerScope(WebSocketPolicy policy)
public SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool)
public SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool, DecoratedObjectFactory objectFactory)
public SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool, Executor executor, DecoratedObjectFactory objectFactory)
public SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool, Executor executor, SslContextFactory ssl, DecoratedObjectFactory objectFactory)
public ByteBufferPool getBufferPool()
WebSocketContainerScopegetBufferPool in interface WebSocketContainerScopepublic Executor getExecutor()
WebSocketContainerScopegetExecutor in interface WebSocketContainerScopepublic DecoratedObjectFactory getObjectFactory()
WebSocketContainerScopegetObjectFactory in interface WebSocketContainerScopepublic WebSocketPolicy getPolicy()
WebSocketContainerScopegetPolicy in interface WebSocketContainerScopepublic SslContextFactory getSslContextFactory()
WebSocketContainerScopegetSslContextFactory in interface WebSocketContainerScopepublic void setSslContextFactory(SslContextFactory sslContextFactory)
public void addSessionListener(WebSocketSessionListener listener)
addSessionListener in interface WebSocketContainerScopepublic void removeSessionListener(WebSocketSessionListener listener)
removeSessionListener in interface WebSocketContainerScopepublic Collection<WebSocketSessionListener> getSessionListeners()
getSessionListeners in interface WebSocketContainerScopeCopyright © 2010 - 2020 Adobe. All Rights Reserved