Methods Summary |
---|
public boolean | contains(java.lang.Object provider)Checks whether the specified provider has been already registered.
throw new UnsupportedOperationException("Not supported yet");
|
public void | deregisterAll(java.lang.Class category)Deregisters all providers from the specified category.
throw new UnsupportedOperationException("Not supported yet");
|
public void | deregisterAll()Deregister all providers from all categories.
throw new UnsupportedOperationException("Not supported yet");
|
public boolean | deregisterServiceProvider(T provider, java.lang.Class category)Deregisters the specifies service provider from the specified category.
throw new UnsupportedOperationException("Not supported yet");
|
public void | deregisterServiceProvider(java.lang.Object provider)Deregisters the specified service provider from all categories.
throw new UnsupportedOperationException("Not supported yet");
|
public void | finalize()Finalizes this object.
// TODO uncomment when deregisterAll is implemented
// deregisterAll();
|
public java.util.Iterator | getCategories()Gets an iterator of Class objects representing the current categories.
return categories.list();
|
public T | getServiceProviderByClass(java.lang.Class providerClass)Gets the registered service provider object that has the specified class
type.
throw new UnsupportedOperationException("Not supported yet");
|
public java.util.Iterator | getServiceProviders(java.lang.Class category, boolean useOrdering)Gets an Iterator of all registered service providers in the specified
category. The useOrdering parameter indicates whether the iterator will
return all of the server provider objects in a set order.
return (Iterator<T>)categories.getProviders(category, useOrdering);
|
public java.util.Iterator | getServiceProviders(java.lang.Class category, javax.imageio.spi.ServiceRegistry$Filter filter, boolean useOrdering)Gets an Iterator of registered service providers in the specified
category which satisfy the specified Filter. The useOrdering parameter
indicates whether the iterator will return all of the server provider
objects in a set order.
return new FilteredIterator<T>(filter, (Iterator<T>)categories.getProviders(category,
useOrdering));
|
public static java.util.Iterator | lookupProviders(java.lang.Class providerClass, java.lang.ClassLoader loader)Looks up and instantiates the available providers of this service using
the specified class loader.
throw new UnsupportedOperationException("Not supported yet");
|
public static java.util.Iterator | lookupProviders(java.lang.Class providerClass)Looks up and instantiates the available providers of this service using
the context class loader.
return lookupProviders(providerClass, Thread.currentThread().getContextClassLoader());
|
public boolean | registerServiceProvider(T provider, java.lang.Class category)Registers the specified service provider object in the specified
categories.
return categories.addProvider(provider, category);
|
public void | registerServiceProvider(java.lang.Object provider)Registers the specified service provider object in all categories.
categories.addProvider(provider, null);
|
public void | registerServiceProviders(java.util.Iterator providers)Registers a list of service providers.
for (Iterator<?> iterator = providers; iterator.hasNext();) {
categories.addProvider(iterator.next(), null);
}
|
public boolean | setOrdering(java.lang.Class category, T firstProvider, T secondProvider)Sets an ordering between two service provider objects within the
specified category.
throw new UnsupportedOperationException("Not supported yet");
|
public boolean | unsetOrdering(java.lang.Class category, T firstProvider, T secondProvider)Unsets an ordering between two service provider objects within the
specified category.
throw new UnsupportedOperationException("Not supported yet");
|