Class PropsAdapter$
java.lang.Object
org.apache.pekko.actor.typed.scaladsl.adapter.PropsAdapter$
Wrap
pekko.actor.typed.Behavior in a classic pekko.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 methods
spawn and spawnAnonymous on a classic ActorContext, but it's needed
when using typed actors with an existing library/tool that provides an API that
takes a classic pekko.actor.Props parameter. Cluster Sharding is an
example of that.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropsAdapter$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
PropsAdapter$
public PropsAdapter$()
-
-
Method Details
-
apply
-
apply$default$2
-