Package org.glassfish.tyrus.spi
Class ServerContainerFactory
java.lang.Object
org.glassfish.tyrus.spi.ServerContainerFactory
- Direct Known Subclasses:
GrizzlyServerContainer
Factory used to get instances of
ServerContainer
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract ServerContainer
createContainer
(Map<String, Object> properties) Create container delegate method.static ServerContainer
Create newServerContainer
with default configuration.static ServerContainer
createServerContainer
(Map<String, Object> properties) Create newServerContainer
with configuration.
-
Constructor Details
-
ServerContainerFactory
public ServerContainerFactory()
-
-
Method Details
-
createServerContainer
Create newServerContainer
with default configuration.- Returns:
- new
ServerContainer
.
-
createServerContainer
Create newServerContainer
with configuration.- Parameters:
properties
- configuration passed to created server container.- Returns:
- new
ServerContainer
.
-
createContainer
Create container delegate method.Has to be implemented by
ServerContainerFactory
implementations.- Parameters:
properties
- configuration passed to created server container.- Returns:
- new
ServerContainer
.
-