Package akka.camel
Class CamelExtension$
- java.lang.Object
-
- akka.camel.CamelExtension$
-
- All Implemented Interfaces:
ExtensionId<Camel>
,ExtensionIdProvider
public class CamelExtension$ extends java.lang.Object implements ExtensionId<Camel>, ExtensionIdProvider
Creates a new instance of Camel and makes sure it gets stopped when the actor system is shutdown.
-
-
Field Summary
Fields Modifier and Type Field Description static CamelExtension$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description CamelExtension$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Camel
createExtension(ExtendedActorSystem system)
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.Camel
get(ActorSystem system)
Returns an instance of the extension identified by this ExtensionId instance.ExtensionId<Camel>
lookup()
-
-
-
Field Detail
-
MODULE$
public static final CamelExtension$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
createExtension
public Camel 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 interfaceExtensionId<Camel>
- Parameters:
system
- (undocumented)- Returns:
- (undocumented)
-
lookup
public ExtensionId<Camel> lookup()
- Specified by:
lookup
in interfaceExtensionIdProvider
-
get
public Camel 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 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 interfaceExtensionId<Camel>
- Parameters:
system
- (undocumented)- Returns:
- (undocumented)
-
-