public final class ActorSystemSetup
extends java.lang.Object
Constructor is *Internal API*. Use the factory methods create(akka.actor.setup.Setup...)
and akka.actor.Actor#apply
to create
instances.
Constructor and Description |
---|
ActorSystemSetup(scala.collection.immutable.Map<java.lang.Class<?>,java.lang.Object> setups) |
Modifier and Type | Method and Description |
---|---|
<T extends Setup> |
and(T t)
alias for
withSetting allowing for fluent combination of settings: a and b and c , where a , b and c are
concrete Setup instances. |
static ActorSystemSetup |
apply(scala.collection.Seq<Setup> settings)
Scala API: Create an
ActorSystemSetup containing all the provided settings |
static ActorSystemSetup |
create(scala.collection.Seq<Setup> settings)
Java API: Create an
ActorSystemSetup containing all the provided settings |
static ActorSystemSetup |
create(Setup... settings)
Java API: Create an
ActorSystemSetup containing all the provided settings |
static ActorSystemSetup |
empty() |
<T extends Setup> |
get(java.lang.Class<T> clazz)
Java API: Extract a concrete
Setup of type T if it is defined in the settings. |
<T extends Setup> |
get(scala.reflect.ClassTag<T> evidence$1)
Scala API: Extract a concrete
Setup of type T if it is defined in the settings. |
java.lang.String |
toString() |
<T extends Setup> |
withSetup(T t)
Add a concrete
Setup . |
public ActorSystemSetup(scala.collection.immutable.Map<java.lang.Class<?>,java.lang.Object> setups)
public static ActorSystemSetup create(Setup... settings)
ActorSystemSetup
containing all the provided settingssettings
- (undocumented)public static ActorSystemSetup empty()
public static ActorSystemSetup apply(scala.collection.Seq<Setup> settings)
ActorSystemSetup
containing all the provided settingssettings
- (undocumented)public static ActorSystemSetup create(scala.collection.Seq<Setup> settings)
ActorSystemSetup
containing all the provided settingssettings
- (undocumented)public <T extends Setup> java.util.Optional<T> get(java.lang.Class<T> clazz)
Setup
of type T
if it is defined in the settings.clazz
- (undocumented)public <T extends Setup> scala.Option<T> get(scala.reflect.ClassTag<T> evidence$1)
Setup
of type T
if it is defined in the settings.evidence$1
- (undocumented)public <T extends Setup> ActorSystemSetup withSetup(T t)
Setup
. If a setting of the same concrete Setup
already is
present it will be replaced.t
- (undocumented)public <T extends Setup> ActorSystemSetup and(T t)
withSetting
allowing for fluent combination of settings: a and b and c
, where a
, b
and c
are
concrete Setup
instances. If a setting of the same concrete Setup
already is
present it will be replaced.t
- (undocumented)public java.lang.String toString()
toString
in class java.lang.Object