API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.imageio.spi. IIORegistry View Source
Author(s)
Since
Version
0.5
Serial
Hierarchy
 Object
      ServiceRegistry
          IIORegistry
Implements
Subclasses
Description
publicfinal class IIORegistry
  A registry for service provider instances.
See also:   
Constructors
private IIORegistry ()
  Set up the valid service provider categories and automatically register all available service providers.
Methods
Hide/Show inherited methods
public boolean contains (Object provider) [Inherited From ServiceRegistry]
  Returns true if provider is currently registered.
public void deregisterAll () [Inherited From ServiceRegistry]
Deregisters all currently registered service providers from all categories.
public void deregisterAll (Class<Object> category) [Inherited From ServiceRegistry]
  Deregisters all service provider object currently registered under the given category.
public void deregisterServiceProvider (Object provider) [Inherited From ServiceRegistry]
  Removes a service provider object from all categories that contain it.
public boolean deregisterServiceProvider ( T provider, Class< T> category) [Inherited From ServiceRegistry]
  Removes a service provider object from the given category.
public void finalize () throws Throwable [Inherited From ServiceRegistry]
  Finalizes this object prior to garbage collection.
public Iterator<Class<Object>> getCategories () [Inherited From ServiceRegistry]
  Returns an Iterator of Class objects indicating the current set of categories.
publicstatic IIORegistry getDefaultInstance ()
  Returns the default IIORegistry instance used by the Image I/O API.
public T getServiceProviderByClass (Class< T> providerClass) [Inherited From ServiceRegistry]
  Returns the currently registered service provider object that is of the given class type.
public Iterator< T> getServiceProviders (Class< T> category, boolean useOrdering) [Inherited From ServiceRegistry]
  Returns an Iterator containing all registered service providers in the given category.
public Iterator< T> getServiceProviders (Class< T> category, Filter filter, boolean useOrdering) [Inherited From ServiceRegistry]
  Returns an Iterator containing service provider objects within a given category that satisfy a criterion imposed by the supplied ServiceRegistry.Filter object's filter method.
publicstatic Iterator< T> lookupProviders (Class< T> providerClass) [Inherited From ServiceRegistry]
  Locates and incrementally instantiates the available providers of a given service using the context class loader.
publicstatic Iterator< T> lookupProviders (Class< T> providerClass, ClassLoader loader) [Inherited From ServiceRegistry]
  Searches for implementations of a particular service class using the given class loader.
public void registerApplicationClasspathSpis ()
  Registers all available service providers found on the application class path, using the default ClassLoader.
public void registerServiceProvider (Object provider) [Inherited From ServiceRegistry]
  Adds a service provider object to the registry.
public boolean registerServiceProvider ( T provider, Class< T> category) [Inherited From ServiceRegistry]
  Adds a service provider object to the registry.
public void registerServiceProviders (Iterator<Object> providers) [Inherited From ServiceRegistry]
  Adds a set of service provider objects, taken from an Iterator to the registry.
public boolean setOrdering (Class< T> category, T firstProvider, T secondProvider) [Inherited From ServiceRegistry]
  Sets a pairwise ordering between two service provider objects within a given category.
public boolean unsetOrdering (Class< T> category, T firstProvider, T secondProvider) [Inherited From ServiceRegistry]
  Sets a pairwise ordering between two service provider objects within a given category.
Fields
Hide/Show inherited fields
Nested Classes
  ServiceRegistry.Filter
A simple filter interface used by ServiceRegistry.getServiceProviders to select providers matching an arbitrary criterion.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar