Class ServiceUnregisterEvent


public class ServiceUnregisterEvent extends ServiceEvent
This event is called when a service is unregistered.

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

Since:
1.1.0
  • Constructor Details

    • ServiceUnregisterEvent

      @Internal public ServiceUnregisterEvent(@NotNull @NotNull RegisteredServiceProvider<?> serviceProvider)
  • 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