Class ServiceRegisterEvent


public class ServiceRegisterEvent extends ServiceEvent
This event is called when a service is registered.

Warning: The order in which register and unregister events are called should not be relied upon.

Since:
1.1.0
  • Constructor Details

    • ServiceRegisterEvent

      @Internal public ServiceRegisterEvent(@NotNull @NotNull RegisteredServiceProvider<?> registeredProvider)
  • Method Details

    • getHandlers

      @NotNull public @NotNull HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
      Since:
      1.1.0
    • getHandlerList

      @NotNull public static @NotNull HandlerList getHandlerList()
      Since:
      1.1.0