org.bukkit.event.server
Class ServiceRegisterEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by org.bukkit.event.server.ServerEvent
          extended by org.bukkit.event.server.ServiceEvent
              extended by org.bukkit.event.server.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.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
 
Constructor Summary
ServiceRegisterEvent(RegisteredServiceProvider<?> registeredProvider)
           
 
Method Summary
static HandlerList getHandlerList()
           
 HandlerList getHandlers()
           
 
Methods inherited from class org.bukkit.event.server.ServiceEvent
getProvider
 
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceRegisterEvent

public ServiceRegisterEvent(RegisteredServiceProvider<?> registeredProvider)
Method Detail

getHandlers

public HandlerList getHandlers()
Specified by:
getHandlers in class Event

getHandlerList

public static HandlerList getHandlerList()


Copyright © 2013. All Rights Reserved.