Package akka.actor.setup
Class ActorSystemSetup
- java.lang.Object
-
- akka.actor.setup.ActorSystemSetup
-
public final class ActorSystemSetup extends java.lang.Object
Java API: Extract a concreteSetup
of typeT
if it is defined in the settings.
-
-
Constructor Summary
Constructors Constructor Description ActorSystemSetup(scala.collection.immutable.Map<java.lang.Class<?>,java.lang.Object> setups)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Setup>
ActorSystemSetupand(T t)
alias forwithSetup
allowing for fluent combination of settings:a and b and c
, wherea
,b
andc
are concreteSetup
instances.static ActorSystemSetup
apply(scala.collection.Seq<Setup> settings)
Scala API: Create anActorSystemSetup
containing all the provided settingsstatic ActorSystemSetup
create(Setup... settings)
static ActorSystemSetup
create(scala.collection.Seq<Setup> settings)
Java API: Create anActorSystemSetup
containing all the provided settingsstatic ActorSystemSetup
empty()
<T extends Setup>
java.util.Optional<T>get(java.lang.Class<T> clazz)
<T extends Setup>
scala.Option<T>get(scala.reflect.ClassTag<T> evidence$1)
Scala API: Extract a concreteSetup
of typeT
if it is defined in the settings.scala.collection.immutable.Map<java.lang.Class<?>,java.lang.Object>
setups()
java.lang.String
toString()
<T extends Setup>
ActorSystemSetupwithSetup(T t)
Add a concreteSetup
.
-
-
-
Method Detail
-
create
public static ActorSystemSetup create(Setup... settings)
-
empty
public static ActorSystemSetup empty()
-
apply
public static ActorSystemSetup apply(scala.collection.Seq<Setup> settings)
Scala API: Create anActorSystemSetup
containing all the provided settings- Parameters:
settings
- (undocumented)- Returns:
- (undocumented)
-
create
public static ActorSystemSetup create(scala.collection.Seq<Setup> settings)
Java API: Create anActorSystemSetup
containing all the provided settings- Parameters:
settings
- (undocumented)- Returns:
- (undocumented)
-
setups
public scala.collection.immutable.Map<java.lang.Class<?>,java.lang.Object> setups()
-
get
public <T extends Setup> java.util.Optional<T> get(java.lang.Class<T> clazz)
-
get
public <T extends Setup> scala.Option<T> get(scala.reflect.ClassTag<T> evidence$1)
Scala API: Extract a concreteSetup
of typeT
if it is defined in the settings.- Parameters:
evidence$1
- (undocumented)- Returns:
- (undocumented)
-
withSetup
public <T extends Setup> ActorSystemSetup withSetup(T t)
Add a concreteSetup
. If a setting of the same concreteSetup
already is present it will be replaced.- Parameters:
t
- (undocumented)- Returns:
- (undocumented)
-
and
public <T extends Setup> ActorSystemSetup and(T t)
alias forwithSetup
allowing for fluent combination of settings:a and b and c
, wherea
,b
andc
are concreteSetup
instances. If a setting of the same concreteSetup
already is present it will be replaced.- Parameters:
t
- (undocumented)- Returns:
- (undocumented)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-