public class GrizzlyServerContainer extends ServerContainerFactory
ServerContainerFactory
and ServerContainer
.Modifier and Type | Field and Description |
---|---|
static String |
SELECTOR_THREAD_POOL_CONFIG
Server-side property to set custom selector
ThreadPoolConfig . |
static String |
WORKER_THREAD_POOL_CONFIG
Server-side property to set custom worker
ThreadPoolConfig . |
Constructor and Description |
---|
GrizzlyServerContainer() |
Modifier and Type | Method and Description |
---|---|
ServerContainer |
createContainer(Map<String,Object> properties)
Create container delegate method.
|
createServerContainer, createServerContainer
public static final String WORKER_THREAD_POOL_CONFIG
ThreadPoolConfig
.
Value is expected to be instance of ThreadPoolConfig
, can be null
(it won't be used).public static final String SELECTOR_THREAD_POOL_CONFIG
ThreadPoolConfig
.
Value is expected to be instance of ThreadPoolConfig
, can be null
(it won't be used).public ServerContainer createContainer(Map<String,Object> properties)
ServerContainerFactory
ServerContainerFactory
implementations.createContainer
in class ServerContainerFactory
properties
- configuration passed to created server container.ServerContainer
.Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.