Interface EventSourceRegistry

    • Method Detail

      • registerEventSource

        <T extends EventSourceEventSourceRegistration<T> registerEventSource​(T eventSource)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Registers the given EventSource for public consumption. The EventSource is associated with the node identified via EventSource.getSourceNodeKey().
        Parameters:
        eventSource - the EventSource instance to register
        Returns:
        an EventSourceRegistration instance that is used to unregister the EventSource via EventSourceRegistration.close().