Class CinnamonEvents

  • All Implemented Interfaces:
    akka.actor.Extension

    public abstract class CinnamonEvents
    extends CinnamonEventsFactory
    implements akka.actor.Extension
    Akka (classic) Extension that provides a Cinnamon event API for custom events.
    • Constructor Detail

      • CinnamonEvents

        public CinnamonEvents()
    • Method Detail

      • createExtension

        public static CinnamonEvents createExtension​(akka.actor.ExtendedActorSystem system)
      • apply

        public static CinnamonEvents apply​(akka.actor.ActorContext context)
      • lookup

        public static akka.actor.ExtensionId<? extends akka.actor.Extension> lookup()
      • get

        public static CinnamonEvents get​(akka.actor.ActorSystem system)
      • get

        public static CinnamonEvents get​(akka.actor.ActorContext context)
      • hashCode

        public static final int hashCode()
      • equals

        public static final boolean equals​(java.lang.Object other)
      • eventsFor

        public abstract CinnamonEvents eventsFor​(akka.actor.ActorRef actorRef)
        Get CinnamonEvents API scoped to a particular actor.

        Parameters:
        actorRef - the actor to create actor-level custom events
        Returns:
        CinnamonEvents scoped to the given actor
      • eventsForSystem

        public abstract CinnamonEvents eventsForSystem()
        Get CinnamonEvents API scoped to the actor system.

        Returns:
        CinnamonEvents scoped to the actor system
      • eventsForApplication

        public abstract CinnamonEvents eventsForApplication()
        Get CinnamonEvents API scoped to the application.

        Returns:
        CinnamonEvents scoped to the application
      • eventsFor

        public abstract CinnamonEvents eventsFor​(Identity identity)
        Get CinnamonEvents API scoped to a particular identity.

        Parameters:
        identity - the identity to create custom events for
        Returns:
        CinnamonEvents scoped to the given identity