Package de.Keyle.MyPet.api.util.service
package de.Keyle.MyPet.api.util.service
Optional, plugin-gated functionality registered as services.
A ServiceContainer is a unit of functionality that may or may not be usable on a
given server. ServiceName names it, RequiresPlugin declares the third-party
plugin it bridges to, and Load declares the startup state at which it should be
loaded. ServiceManager registers the containers, skips the ones whose prerequisites
are absent, and hands out the ones that are active.
-
ClassDescriptionDeclares the startup phase at which a
ServiceContainershould be loaded.The startup phases a service can be loaded at.Marks aServiceContainerthat bridges to a specific third-party Bukkit plugin.Services are a way to register possible functionalityTheServiceManagermanages all interactions with other plugins.Annotation to add name information to theServiceContainerclass