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