## Uses of Class
javax.imageio.spi.ServiceRegistry

- Packages that use ServiceRegistry
  Package | Description
  --- | ---
  javax.imageio.spi | A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry.

- - ### Uses of ServiceRegistry in javax.imageio.spi

    Subclasses of ServiceRegistry in javax.imageio.spi
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `IIORegistry` A registry for service provider instances.

    Methods in javax.imageio.spi with parameters of type ServiceRegistry
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | RegisterableService.`onDeregistration(ServiceRegistry registry, Class<?> category)` Called when an object implementing this interface is removed from the given `category` of the given `registry`.
    `void` | IIOServiceProvider.`onDeregistration(ServiceRegistry registry, Class<?> category)` A callback that will be whenever the Spi class has been deregistered from a `ServiceRegistry`.
    `void` | RegisterableService.`onRegistration(ServiceRegistry registry, Class<?> category)` Called when an object implementing this interface is added to the given `category` of the given `registry`.
    `void` | IIOServiceProvider.`onRegistration(ServiceRegistry registry, Class<?> category)` A callback that will be called exactly once after the Spi class has been instantiated and registered in a `ServiceRegistry`.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.