Class ServiceListUpdatedEvent

java.lang.Object
ai.pipestream.api.events.ServiceListUpdatedEvent

public final class ServiceListUpdatedEvent extends Object
A CDI event that is fired when the list of registered pipeline services changes. This event serves as a decoupling mechanism between the service that manages registrations (e.g., from Consul) and any components that need to validate against the list of available services.
  • Constructor Details

    • ServiceListUpdatedEvent

      public ServiceListUpdatedEvent(Set<String> serviceNames)
      Constructs a new event.
      Parameters:
      serviceNames - The complete, updated set of registered service names. The provided set should be immutable or a defensive copy.
  • Method Details

    • getServiceNames

      public Set<String> getServiceNames()
      Returns:
      The complete set of registered service names.