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) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
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.
|
SslContextFactory |
getSslContextFactory()
The SslContextFactory in use by the container.
|
void |
setSslContextFactory(SslContextFactory sslContextFactory) |
addBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic SimpleContainerScope(WebSocketPolicy policy)
public SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool)
public SimpleContainerScope(WebSocketPolicy policy, ByteBufferPool bufferPool, DecoratedObjectFactory objectFactory)
protected void doStart()
throws Exception
doStart in class ContainerLifeCycleExceptionprotected void doStop()
throws Exception
doStop in class ContainerLifeCycleExceptionpublic 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)
Copyright © 1995-2015 Webtide. All Rights Reserved.