APIdia Launch Partner
Top Description Methods
javax.imageio.spi

public Interface RegisterableService

Known Direct Implementers
javax.imageio.spi.IIOServiceProvider

An optional interface that may be provided by service provider objects that will be registered with a ServiceRegistry. If this interface is present, notification of registration and deregistration will be performed.
See Also
ServiceRegistry

Method Summary

Modifier and TypeMethod and Description
public void
onDeregistration(ServiceRegistry
a ServiceRegistry from which this object is being (wholly or partially) deregistered.
registry
,
Class<?>
a Class object indicating the registry category from which this object is being deregistered.
category
)

Called when an object implementing this interface is removed from the given category of the given registry.

public void
onRegistration(ServiceRegistry
a ServiceRegistry where this object has been registered.
registry
,
Class<?>
a Class object indicating the registry category under which this object has been registered.
category
)

Called when an object implementing this interface is added to the given category of the given registry.

Method Detail

onDeregistrationback to summary
public void onDeregistration(ServiceRegistry registry, Class<?> category)

Called when an object implementing this interface is removed from the given category of the given registry. The object may still be registered under another category or categories.

Parameters
registry:ServiceRegistry

a ServiceRegistry from which this object is being (wholly or partially) deregistered.

category:Class<?>

a Class object indicating the registry category from which this object is being deregistered.

onRegistrationback to summary
public void onRegistration(ServiceRegistry registry, Class<?> category)

Called when an object implementing this interface is added to the given category of the given registry. The object may already be registered under another category or categories.

Parameters
registry:ServiceRegistry

a ServiceRegistry where this object has been registered.

category:Class<?>

a Class object indicating the registry category under which this object has been registered.