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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ServerContainercreateContainer(Map<String, Object> properties) Create container delegate method.static ServerContainerCreate newServerContainerwith default configuration.static ServerContainercreateServerContainer(Map<String, Object> properties) Create newServerContainerwith configuration.
-
Constructor Details
-
ServerContainerFactory
public ServerContainerFactory()
-
-
Method Details
-
createServerContainer
Create newServerContainerwith default configuration.- Returns:
- new
ServerContainer.
-
createServerContainer
Create newServerContainerwith configuration.- Parameters:
properties- configuration passed to created server container.- Returns:
- new
ServerContainer.
-
createContainer
Create container delegate method.Has to be implemented by
ServerContainerFactoryimplementations.- Parameters:
properties- configuration passed to created server container.- Returns:
- new
ServerContainer.
-