Interface LifeCycleBus

    • Method Detail

      • onLifeCycle

        default java.lang.String onLifeCycle​(java.lang.Class<?> aPublisherType,
                                             LifeCycleBusObserver aObserver)
        Subscribes a LifeCycleBusObserver for LifeCycleBusEvent instances with the given attributes to be passed to the according LifeCycleBusObserver methods.
        Parameters:
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onLifeCycle

        default java.lang.String onLifeCycle​(java.lang.String aChannel,
                                             LifeCycleBusObserver aObserver)
        Subscribes a LifeCycleBusObserver for LifeCycleBusEvent instances with the given attributes to be passed to the according LifeCycleBusObserver methods.
        Parameters:
        aChannel - The channel name on which the event is receivable.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onLifeCycle

        default java.lang.String onLifeCycle​(java.lang.String aAlias,
                                             java.lang.String aGroup,
                                             java.lang.String aChannel,
                                             java.lang.String aUid,
                                             java.lang.Class<?> aPublisherType,
                                             LifeCycleBusObserver aObserver)
        Subscribes a LifeCycleBusObserver for LifeCycleBusEvent instances with the given attributes to be passed to the according LifeCycleBusObserver methods.
        Parameters:
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onLifeCycle

        default java.lang.String onLifeCycle​(java.lang.Enum<?> aAction,
                                             java.lang.Class<?> aPublisherType,
                                             LifeCycleBusObserver aObserver)
        Subscribes a LifeCycleBusObserver for LifeCycleBusEvent instances with the given attributes to be passed to the according LifeCycleBusObserver methods.
        Parameters:
        aAction - The action which this represents.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onLifeCycle

        default java.lang.String onLifeCycle​(java.lang.Enum<?> aAction,
                                             java.lang.String aChannel,
                                             LifeCycleBusObserver aObserver)
        Subscribes a LifeCycleBusObserver for LifeCycleBusEvent instances with the given attributes to be passed to the according LifeCycleBusObserver methods.
        Parameters:
        aAction - The action which this represents.
        aChannel - The channel name on which the event is receivable.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onLifeCycle

        default java.lang.String onLifeCycle​(java.lang.Enum<?> aAction,
                                             java.lang.String aAlias,
                                             java.lang.String aGroup,
                                             java.lang.String aChannel,
                                             java.lang.String aUid,
                                             java.lang.Class<?> aPublisherType,
                                             LifeCycleBusObserver aObserver)
        Subscribes a LifeCycleBusObserver for LifeCycleBusEvent instances with the given attributes to be passed to the according LifeCycleBusObserver methods.
        Parameters:
        aAction - The action which this represents.
        aAlias - The alias property.
        aGroup - The group property.
        aChannel - The channel property.
        aUid - The UID (Universal-ID) property.
        aPublisherType - The type of the event publisher.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.
      • onLifeCycle

        default java.lang.String onLifeCycle​(java.lang.Enum<?> aAction,
                                             LifeCycleBusObserver aObserver)
        Subscribes a LifeCycleBusObserver for LifeCycleBusEvent instances with the given attributes to be passed to the according LifeCycleBusObserver methods.
        Parameters:
        aAction - The action which this represents.
        aObserver - The observer to be notified.
        Returns:
        A handle to unsubscribe this combination.