Class PropsAdapter$
- java.lang.Object
-
- org.apache.pekko.actor.typed.scaladsl.adapter.PropsAdapter$
-
public class PropsAdapter$ extends java.lang.ObjectWrappekko.actor.typed.Behaviorin a classicpekko.actor.Props, i.e. when spawning a typed child actor from a classic parent actor. This is normally not needed because you can use the extension methodsspawnandspawnAnonymouson a classicActorContext, but it's needed when using typed actors with an existing library/tool that provides an API that takes a classicpekko.actor.Propsparameter. Cluster Sharding is an example of that.
-
-
Field Summary
Fields Modifier and Type Field Description static PropsAdapter$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description PropsAdapter$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Propsapply(scala.Function0<Behavior<T>> behavior, Props deploy)<T> Propsapply$default$2()
-
-
-
Field Detail
-
MODULE$
public static final PropsAdapter$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-