JavaTM Platform
Standard Ed. 6

javax.imageio.spi
인터페이스 RegisterableService

기존의 구현 클래스의 일람:
IIOServiceProvider , ImageInputStreamSpi , ImageOutputStreamSpi , ImageReaderSpi , ImageReaderWriterSpi , ImageTranscoderSpi , ImageWriterSpi


public interface RegisterableService

ServiceRegistry 를 사용해 등록되는 서비스 프로바이더 객체에 의해 제공되는 옵션의 인터페이스입니다. 이 인터페이스가 존재하면(자), 등록과 등록 해제가 통지됩니다.

관련 항목:
ServiceRegistry

메소드의 개요
 void onDeregistration (ServiceRegistry  registry, Class <? > category)
          이 인터페이스를 구현하는 객체가, 지정된 registrycategory 로부터 삭제되는 경우에 불려 갑니다.
 void onRegistration (ServiceRegistry  registry, Class <? > category)
          이 인터페이스를 구현하는 객체가, 지정된 registrycategory 에 추가되는 경우에 불려 갑니다.
 

메소드의 상세

onRegistration

void onRegistration(ServiceRegistry  registry,
                    Class <? > category)
이 인터페이스를 구현하는 객체가, 지정된 registrycategory 에 추가되는 경우에 불려 갑니다. 이 객체는, 벌써 다른 카테고리 (복수의 경우도 있어)에 등록되어 있는 경우가 있습니다.

파라미터:
registry - 이 객체가 등록되어 있다 ServiceRegistry
category - 이 객체가 등록되어 있다 레지스트리 카테고리를 나타내는 Class 객체

onDeregistration

void onDeregistration(ServiceRegistry  registry,
                      Class <? > category)
이 인터페이스를 구현하는 객체가, 지정된 registrycategory 로부터 삭제되는 경우에 불려 갑니다. 이 객체는, 벌써 다른 카테고리 (복수의 경우도 있어)에 등록되어 있는 경우가 있습니다.

파라미터:
registry - 객체의 모두 또는 일부가 등록 해제되는 ServiceRegistry
category - 이 객체가 등록 해제된다 레지스트리 카테고리를 나타내는 Class 객체

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.