Class InstanceRegisteredEvent<T>

  • Type Parameters:
    T - - type of configuration
    All Implemented Interfaces:
    Serializable

    public class InstanceRegisteredEvent<T>
    extends org.springframework.context.ApplicationEvent
    Event to be published after the local service instance registers itself with a discovery service.
    Author:
    Spencer Gibb
    See Also:
    Serialized Form
    • Constructor Detail

      • InstanceRegisteredEvent

        public InstanceRegisteredEvent​(Object source,
                                       T config)
        Creates a new InstanceRegisteredEvent instance.
        Parameters:
        source - The component that published the event (never null).
        config - The configuration of the instance.
    • Method Detail

      • getConfig

        public T getConfig()