Package org.apache.pekko.actor.typed
Class ExtensionSetup<T extends Extension>
java.lang.Object
org.apache.pekko.actor.setup.Setup
org.apache.pekko.actor.typed.ExtensionSetup<T>
- Direct Known Subclasses:
AbstractExtensionSetup,ActorRefResolverSetup,ClusterSetup,ClusterShardingSetup,ClusterSingletonSetup,DistributedDataSetup,ReceptionistSetup
Each extension typically provide a concrete
ExtensionSetup that can be used in
pekko.actor.setup.ActorSystemSetup when starting the ActorSystem to replace the default
implementation of the extension. Intended for tests that need to replace
extension with stub/mock implementations.-
Constructor Summary
ConstructorsConstructorDescriptionExtensionSetup(ExtensionId<T> extId, Function<ActorSystem<?>, T> createExtension) -
Method Summary
-
Constructor Details
-
ExtensionSetup
-
-
Method Details
-
createExtension
-
extId
-