| javax.imageio.spi.RegisterableService
All known Subclasses: javax.imageio.spi.IIOServiceProvider,
RegisterableService | public interface RegisterableService (Code) | | 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 version: 0.5 |
Method Summary | |
void | onDeregistration(ServiceRegistry registry, Class> category) Called when an object implementing this interface is removed
from the given category of the given
registry . | void | onRegistration(ServiceRegistry registry, Class> category) Called when an object implementing this interface is added to
the given category of the given
registry . |
onDeregistration | void onDeregistration(ServiceRegistry registry, Class> category)(Code) | | 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 - a ServiceRegistry from which thisobject is being (wholly or partially) deregistered. Parameters: category - a Class object indicating theregistry category from which this object is being deregistered. |
onRegistration | void onRegistration(ServiceRegistry registry, Class> category)(Code) | | 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 - a ServiceRegistry where thisobject has been registered. Parameters: category - a Class object indicating theregistry category under which this object has been registered. |
|
|