Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ServerProvider.type
Members list
Type members
Classlikes
The context for creating a server. Passed to the createServer method.
The context for creating a server. Passed to the createServer method.
Value parameters
- actorSystem
-
An ActorSystem that the server can use.
- appProvider
-
An object which can be queried to get an Application.
- config
-
Basic server configuration values.
- stopHook
-
A function that should be called by the server when it stops. This function can be used to close resources that are provided to the server.
Attributes
- Supertypes
Value members
Concrete methods
Load a server provider from the configuration and classloader.
Load a server provider from the configuration and classloader.
Value parameters
- classLoader
-
The ClassLoader to load the class from.
- configuration
-
The configuration to look the server provider up from.
Attributes
- Returns
-
The server provider, if one was configured.
- Throws
-
ServerStartException
If the ServerProvider couldn't be created.
Implicits
Implicits
Load the default server provider.
Load the default server provider.