javax.imageio.spi
public interface RegisterableService
ServiceRegistry
.Modifier and Type | Method and Description |
---|---|
void |
onDeregistration(ServiceRegistry registry,
Class<?> category)
Informs this service provider that it has been de-registered from
a
ServiceRegistry . |
void |
onRegistration(ServiceRegistry registry,
Class<?> category)
Informs this service provider that it has been registered in a
ServiceRegistry . |
void onRegistration(ServiceRegistry registry, Class<?> category)
ServiceRegistry
. If this provider gets registered as an
implementor for several service categories, its
onRegistration
method will be called multiple times.registry
- the registry to which this service provider has
been added.category
- the service category for which this provider has
been registered as an implementor.void onDeregistration(ServiceRegistry registry, Class<?> category)
ServiceRegistry
. If this provider had been registered
as an implementor for several service categories, its
onDeregistration
method will be called multiple
times.registry
- the registry from which this service provider has
been removed.category
- the service category for which this provider has
been registered as an implementor.