final class Discovery extends Extension
- Source
- Discovery.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- Discovery
- Extension
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Discovery()(implicit system: ExtendedActorSystem)
Value Members
- def discovery: ServiceDiscovery
Default ServiceDiscovery as configured in
akka.discovery.method
.Default ServiceDiscovery as configured in
akka.discovery.method
.- Annotations
- @throws(scala.this.throws.<init>$default$1[IllegalArgumentException])
- def loadServiceDiscovery(method: String): ServiceDiscovery
Create a ServiceDiscovery from configuration property.
Create a ServiceDiscovery from configuration property. The given
method
parameter is used to find configuration property "akka.discovery.[method].class".The
ServiceDiscovery
instance for a givenmethod
will be created once and subsequent requests for the samemethod
will return the same instance.