WebSocketContainerScopepublic class SimpleContainerScope extends org.eclipse.jetty.util.component.ContainerLifeCycle implements WebSocketContainerScope
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener| Constructor | Description |
|---|---|
SimpleContainerScope(WebSocketPolicy policy) |
|
SimpleContainerScope(WebSocketPolicy policy,
org.eclipse.jetty.io.ByteBufferPool bufferPool) |
|
SimpleContainerScope(WebSocketPolicy policy,
org.eclipse.jetty.io.ByteBufferPool bufferPool,
java.util.concurrent.Executor executor,
org.eclipse.jetty.util.DecoratedObjectFactory objectFactory) |
|
SimpleContainerScope(WebSocketPolicy policy,
org.eclipse.jetty.io.ByteBufferPool bufferPool,
org.eclipse.jetty.util.DecoratedObjectFactory objectFactory) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doStart() |
|
protected void |
doStop() |
|
org.eclipse.jetty.io.ByteBufferPool |
getBufferPool() |
The configured Container Buffer Pool.
|
java.util.concurrent.Executor |
getExecutor() |
Executor in use by the container.
|
org.eclipse.jetty.util.DecoratedObjectFactory |
getObjectFactory() |
Object Factory used to create objects.
|
WebSocketPolicy |
getPolicy() |
The policy the container is running on.
|
org.eclipse.jetty.util.ssl.SslContextFactory |
getSslContextFactory() |
The SslContextFactory in use by the container.
|
void |
onSessionClosed(WebSocketSession session) |
A Session has been closed
|
void |
onSessionOpened(WebSocketSession session) |
A Session has been opened
|
void |
setSslContextFactory(org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory) |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisRunningpublic SimpleContainerScope(WebSocketPolicy policy)
public SimpleContainerScope(WebSocketPolicy policy, org.eclipse.jetty.io.ByteBufferPool bufferPool)
public SimpleContainerScope(WebSocketPolicy policy, org.eclipse.jetty.io.ByteBufferPool bufferPool, org.eclipse.jetty.util.DecoratedObjectFactory objectFactory)
public SimpleContainerScope(WebSocketPolicy policy, org.eclipse.jetty.io.ByteBufferPool bufferPool, java.util.concurrent.Executor executor, org.eclipse.jetty.util.DecoratedObjectFactory objectFactory)
protected void doStart()
throws java.lang.Exception
doStart in class org.eclipse.jetty.util.component.ContainerLifeCyclejava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class org.eclipse.jetty.util.component.ContainerLifeCyclejava.lang.Exceptionpublic org.eclipse.jetty.io.ByteBufferPool getBufferPool()
WebSocketContainerScopegetBufferPool in interface WebSocketContainerScopepublic java.util.concurrent.Executor getExecutor()
WebSocketContainerScopegetExecutor in interface WebSocketContainerScopepublic org.eclipse.jetty.util.DecoratedObjectFactory getObjectFactory()
WebSocketContainerScopegetObjectFactory in interface WebSocketContainerScopepublic WebSocketPolicy getPolicy()
WebSocketContainerScopegetPolicy in interface WebSocketContainerScopepublic org.eclipse.jetty.util.ssl.SslContextFactory getSslContextFactory()
WebSocketContainerScopegetSslContextFactory in interface WebSocketContainerScopepublic void setSslContextFactory(org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory)
public void onSessionOpened(WebSocketSession session)
WebSocketContainerScopeonSessionOpened in interface WebSocketContainerScopesession - the session that was openedpublic void onSessionClosed(WebSocketSession session)
WebSocketContainerScopeonSessionClosed in interface WebSocketContainerScopesession - the session that was closedCopyright © 1995–2018 Webtide. All rights reserved.