public final class BootstrapSetup extends Setup
Modifier and Type | Method and Description |
---|---|
scala.Option<ProviderSelection> |
actorRefProvider() |
static ActorSystemSetup |
and(Setup other) |
static BootstrapSetup |
apply()
Scala API: Construct a bootstrap settings with default values.
|
static BootstrapSetup |
apply(com.typesafe.config.Config config)
Scala API: Short for using custom config but keeping default classloader and default execution context
|
static BootstrapSetup |
apply(scala.Option<java.lang.ClassLoader> classLoader,
scala.Option<com.typesafe.config.Config> config,
scala.Option<scala.concurrent.ExecutionContext> defaultExecutionContext)
Scala API: Create bootstrap settings needed for starting the actor system
|
scala.Option<java.lang.ClassLoader> |
classLoader() |
scala.Option<com.typesafe.config.Config> |
config() |
static BootstrapSetup |
create()
Java API: Construct a bootstrap settings with default values.
|
static BootstrapSetup |
create(com.typesafe.config.Config config)
Java API: Short for using custom config but keeping default classloader and default execution context
|
static BootstrapSetup |
create(java.util.Optional<java.lang.ClassLoader> classLoader,
java.util.Optional<com.typesafe.config.Config> config,
java.util.Optional<scala.concurrent.ExecutionContext> defaultExecutionContext)
Java API: Create bootstrap settings needed for starting the actor system
|
scala.Option<scala.concurrent.ExecutionContext> |
defaultExecutionContext() |
BootstrapSetup |
withActorRefProvider(ProviderSelection name) |
BootstrapSetup |
withClassloader(java.lang.ClassLoader classLoader) |
BootstrapSetup |
withConfig(com.typesafe.config.Config config) |
BootstrapSetup |
withDefaultExecutionContext(scala.concurrent.ExecutionContext executionContext) |
public static BootstrapSetup apply()
BootstrapSetup
at all. You can use the returned instance to derive
one that has other values than defaults using the various with
-methods.public static BootstrapSetup apply(scala.Option<java.lang.ClassLoader> classLoader, scala.Option<com.typesafe.config.Config> config, scala.Option<scala.concurrent.ExecutionContext> defaultExecutionContext)
classLoader
- (undocumented)config
- (undocumented)defaultExecutionContext
- (undocumented)BootstrapSetup} for description of the properties
public static BootstrapSetup apply(com.typesafe.config.Config config)
config
- (undocumented)public static BootstrapSetup create(java.util.Optional<java.lang.ClassLoader> classLoader, java.util.Optional<com.typesafe.config.Config> config, java.util.Optional<scala.concurrent.ExecutionContext> defaultExecutionContext)
classLoader
- (undocumented)config
- (undocumented)defaultExecutionContext
- (undocumented)BootstrapSetup} for description of the properties
public static BootstrapSetup create(com.typesafe.config.Config config)
config
- (undocumented)public static BootstrapSetup create()
BootstrapSetup
at all. You can use the returned instance to derive
one that has other values than defaults using the various with
-methods.public static final ActorSystemSetup and(Setup other)
public scala.Option<java.lang.ClassLoader> classLoader()
public scala.Option<com.typesafe.config.Config> config()
public scala.Option<scala.concurrent.ExecutionContext> defaultExecutionContext()
public scala.Option<ProviderSelection> actorRefProvider()
public BootstrapSetup withClassloader(java.lang.ClassLoader classLoader)
public BootstrapSetup withConfig(com.typesafe.config.Config config)
public BootstrapSetup withDefaultExecutionContext(scala.concurrent.ExecutionContext executionContext)
public BootstrapSetup withActorRefProvider(ProviderSelection name)