Class GrizzlyServerContainer
- java.lang.Object
-
- org.glassfish.tyrus.spi.ServerContainerFactory
-
- org.glassfish.tyrus.container.grizzly.server.GrizzlyServerContainer
-
public class GrizzlyServerContainer extends ServerContainerFactory
Grizzly implementation ofServerContainerFactory
andServerContainer
.- Author:
- Danny Coward (danny.coward at oracle.com), Pavel Bucek (pavel.bucek at oracle.com)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SELECTOR_THREAD_POOL_CONFIG
Server-side property to set custom selectorThreadPoolConfig
.static java.lang.String
WORKER_THREAD_POOL_CONFIG
Server-side property to set custom workerThreadPoolConfig
.
-
Constructor Summary
Constructors Constructor Description GrizzlyServerContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerContainer
createContainer(java.util.Map<java.lang.String,java.lang.Object> properties)
Create container delegate method.-
Methods inherited from class org.glassfish.tyrus.spi.ServerContainerFactory
createServerContainer, createServerContainer
-
-
-
-
Field Detail
-
WORKER_THREAD_POOL_CONFIG
public static final java.lang.String WORKER_THREAD_POOL_CONFIG
Server-side property to set custom workerThreadPoolConfig
.Value is expected to be instance of
ThreadPoolConfig
, can benull
(it won't be used).- See Also:
- Constant Field Values
-
SELECTOR_THREAD_POOL_CONFIG
public static final java.lang.String SELECTOR_THREAD_POOL_CONFIG
Server-side property to set custom selectorThreadPoolConfig
.Value is expected to be instance of
ThreadPoolConfig
, can benull
(it won't be used).- See Also:
- Constant Field Values
-
-
Method Detail
-
createContainer
public ServerContainer createContainer(java.util.Map<java.lang.String,java.lang.Object> properties)
Description copied from class:ServerContainerFactory
Create container delegate method.Has to be implemented by
ServerContainerFactory
implementations.- Specified by:
createContainer
in classServerContainerFactory
- Parameters:
properties
- configuration passed to created server container.- Returns:
- new
ServerContainer
.
-
-