akka.contrib.pattern
Class DistributedPubSubExtension$

java.lang.Object
  extended by akka.contrib.pattern.DistributedPubSubExtension$
All Implemented Interfaces:
ExtensionId<DistributedPubSubExtension>, ExtensionIdProvider

public class DistributedPubSubExtension$
extends java.lang.Object
implements ExtensionId<DistributedPubSubExtension>, ExtensionIdProvider

Extension that starts a DistributedPubSubMediator actor with settings defined in config section akka.contrib.cluster.pub-sub.


Field Summary
static DistributedPubSubExtension$ MODULE$
          Static reference to the singleton instance of this Scala object.
 
Constructor Summary
DistributedPubSubExtension$()
           
 
Method Summary
 DistributedPubSubExtension createExtension(ExtendedActorSystem system)
          Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.
 DistributedPubSubExtension get(ActorSystem system)
          Returns an instance of the extension identified by this ExtensionId instance.
 DistributedPubSubExtension$ lookup()
          Returns the canonical ExtensionId for this Extension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.actor.ExtensionId
apply, equals, hashCode
 

Field Detail

MODULE$

public static final DistributedPubSubExtension$ MODULE$
Static reference to the singleton instance of this Scala object.

Constructor Detail

DistributedPubSubExtension$

public DistributedPubSubExtension$()
Method Detail

get

public DistributedPubSubExtension get(ActorSystem system)
Description copied from interface: ExtensionId
Returns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used used from Java also, this method should be overridden to get correct return type.

 override def get(system: ActorSystem): TheExtension = super.get(system)
 

Specified by:
get in interface ExtensionId<DistributedPubSubExtension>
Parameters:
system - (undocumented)
Returns:
(undocumented)

lookup

public DistributedPubSubExtension$ lookup()
Description copied from interface: ExtensionIdProvider
Returns the canonical ExtensionId for this Extension

Specified by:
lookup in interface ExtensionIdProvider
Returns:
(undocumented)

createExtension

public DistributedPubSubExtension createExtension(ExtendedActorSystem system)
Description copied from interface: ExtensionId
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.

Specified by:
createExtension in interface ExtensionId<DistributedPubSubExtension>
Parameters:
system - (undocumented)
Returns:
(undocumented)