public class ServiceRegisterEvent extends ServiceEvent
Warning: The order in which register and unregister events are called should not be relied upon.
Event.Result
Constructor and Description |
---|
ServiceRegisterEvent(@NotNull RegisteredServiceProvider<?> registeredProvider) |
Modifier and Type | Method and Description |
---|---|
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
getProvider
callEvent, getEventName, isAsynchronous
public ServiceRegisterEvent(@NotNull @NotNull RegisteredServiceProvider<?> registeredProvider)
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.