org.bukkit.plugin
Class RegisteredServiceProvider<T>

java.lang.Object
  extended by org.bukkit.plugin.RegisteredServiceProvider<T>
Type Parameters:
T - Service
All Implemented Interfaces:
Comparable<RegisteredServiceProvider<?>>

public class RegisteredServiceProvider<T>
extends Object
implements Comparable<RegisteredServiceProvider<?>>

A registered service provider.


Constructor Summary
RegisteredServiceProvider(Class<T> service, T provider, ServicePriority priority, Plugin plugin)
           
 
Method Summary
 int compareTo(RegisteredServiceProvider<?> other)
           
 Plugin getPlugin()
           
 ServicePriority getPriority()
           
 T getProvider()
           
 Class<T> getService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisteredServiceProvider

public RegisteredServiceProvider(Class<T> service,
                                 T provider,
                                 ServicePriority priority,
                                 Plugin plugin)
Method Detail

getService

public Class<T> getService()

getPlugin

public Plugin getPlugin()

getProvider

public T getProvider()

getPriority

public ServicePriority getPriority()

compareTo

public int compareTo(RegisteredServiceProvider<?> other)
Specified by:
compareTo in interface Comparable<RegisteredServiceProvider<?>>


Copyright © 2013. All Rights Reserved.