Package org.glassfish.tyrus.spi
Class ServerContainerFactory
- java.lang.Object
-
- org.glassfish.tyrus.spi.ServerContainerFactory
-
- Direct Known Subclasses:
GrizzlyServerContainer
public abstract class ServerContainerFactory extends java.lang.Object
Factory used to get instances ofServerContainer
.
-
-
Constructor Summary
Constructors Constructor Description ServerContainerFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ServerContainer
createContainer(java.util.Map<java.lang.String,java.lang.Object> properties)
Create container delegate method.static ServerContainer
createServerContainer()
Create newServerContainer
with default configuration.static ServerContainer
createServerContainer(java.util.Map<java.lang.String,java.lang.Object> properties)
Create newServerContainer
with configuration.
-
-
-
Method Detail
-
createServerContainer
public static ServerContainer createServerContainer()
Create newServerContainer
with default configuration.- Returns:
- new
ServerContainer
.
-
createServerContainer
public static ServerContainer createServerContainer(java.util.Map<java.lang.String,java.lang.Object> properties)
Create newServerContainer
with configuration.- Parameters:
properties
- configuration passed to created server container.- Returns:
- new
ServerContainer
.
-
createContainer
public abstract ServerContainer createContainer(java.util.Map<java.lang.String,java.lang.Object> properties)
Create container delegate method.Has to be implemented by
ServerContainerFactory
implementations.- Parameters:
properties
- configuration passed to created server container.- Returns:
- new
ServerContainer
.
-
-