Many javadoc fixes thanks to Celtic Minstrel
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -30,22 +30,22 @@ public interface ServicesManager {
|
||||
/**
|
||||
* Unregister all the providers registered by a particular plugin.
|
||||
*
|
||||
* @param plugin
|
||||
* @param plugin The plugin
|
||||
*/
|
||||
public void unregisterAll(Plugin plugin);
|
||||
|
||||
/**
|
||||
* Unregister a particular provider for a particular service.
|
||||
*
|
||||
* @param service
|
||||
* @param provider
|
||||
* @param service The service interface
|
||||
* @param provider The service provider implementation
|
||||
*/
|
||||
public void unregister(Class<?> service, Object provider);
|
||||
|
||||
/**
|
||||
* Unregister a particular provider.
|
||||
*
|
||||
* @param provider
|
||||
* @param provider The service provider implementation
|
||||
*/
|
||||
public void unregister(Object provider);
|
||||
|
||||
@@ -53,8 +53,8 @@ public interface ServicesManager {
|
||||
* Queries for a provider. This may return if no provider has been
|
||||
* registered for a service. The highest priority provider is returned.
|
||||
*
|
||||
* @param <T>
|
||||
* @param service
|
||||
* @param <T> The service interface
|
||||
* @param service The service interface
|
||||
* @return provider or null
|
||||
*/
|
||||
public <T> T load(Class<T> service);
|
||||
@@ -63,8 +63,8 @@ public interface ServicesManager {
|
||||
* Queries for a provider registration. This may return if no provider
|
||||
* has been registered for a service.
|
||||
*
|
||||
* @param <T>
|
||||
* @param service
|
||||
* @param <T> The service interface
|
||||
* @param service The service interface
|
||||
* @return provider registration or null
|
||||
*/
|
||||
public <T> RegisteredServiceProvider<T> getRegistration(Class<T> service);
|
||||
@@ -72,7 +72,7 @@ public interface ServicesManager {
|
||||
/**
|
||||
* Get registrations of providers for a plugin.
|
||||
*
|
||||
* @param plugin
|
||||
* @param plugin The plugin
|
||||
* @return provider registration or null
|
||||
*/
|
||||
public List<RegisteredServiceProvider<?>> getRegistrations(Plugin plugin);
|
||||
@@ -81,8 +81,8 @@ public interface ServicesManager {
|
||||
* Get registrations of providers for a service. The returned list is
|
||||
* unmodifiable.
|
||||
*
|
||||
* @param <T>
|
||||
* @param service
|
||||
* @param <T> The service interface
|
||||
* @param service The service interface
|
||||
* @return list of registrations
|
||||
*/
|
||||
public <T> Collection<RegisteredServiceProvider<T>> getRegistrations(
|
||||
|
||||
Reference in New Issue
Block a user