Added services manager framework. Services are interfaces that specifies capabilities to be implemented by providers. Example services include economy, <insert example 2>, etc.

This commit is contained in:
sk89q
2011-05-02 11:31:00 -07:00
parent 267814484a
commit 67f1d7b041
6 changed files with 469 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ import org.bukkit.command.PluginCommand;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.ServicesManager;
import org.bukkit.scheduler.BukkitScheduler;
/**
@@ -118,6 +119,13 @@ public interface Server {
*/
public BukkitScheduler getScheduler();
/**
* Gets a services manager
*
* @return Services manager
*/
public ServicesManager getServicesManager();
/**
* Gets a list of all worlds on this server
*