JavaTM Platform
Standard Ed. 6

javax.naming.spi
인터페이스 InitialContextFactoryBuilder



public interface InitialContextFactoryBuilder

이 인터페이스는, 초기 문맥 팩토리를 생성하는 빌더를 나타냅니다.

JNDI 시스템에서는, 실행시에 복수의 초기 문맥 구현을 지정할 수 있습니다. 초기 문맥은 초기 문맥 팩토리를 사용해 생성됩니다. 프로그램은 초기 문맥 팩토리를 생성하는 독자적인 빌더를 인스톨 할 수 있어 거기에 따라, NamingManager.setInitialContextFactoryBuilder()를 호출해 시스템로 사용되는 디폴트의 정책를 오버라이드(override) 할 수 있습니다. InitialContextFactoryBuilder 인터페이스는 그러한 빌더로 구현할 필요가 있습니다.

도입된 버젼:
1.3
관련 항목:
InitialContextFactory , NamingManager.getInitialContext(java.util.Hashtable) , NamingManager.setInitialContextFactoryBuilder(javax.naming.spi.InitialContextFactoryBuilder) , NamingManager.hasInitialContextFactoryBuilder() , InitialContext , InitialDirContext

메소드의 개요
 InitialContextFactory createInitialContextFactory (Hashtable <?,?> environment)
          지정된 환경을 사용해, 초기 문맥 팩토리를 생성합니다.
 

메소드의 상세

createInitialContextFactory

InitialContextFactory  createInitialContextFactory(Hashtable <?,?> environment)
                                                  throws NamingException 
지정된 환경을 사용해, 초기 문맥 팩토리를 생성합니다.

이 환경 파라미터는 호출해 옆이 소유합니다. 구현은 객체를 변경하지 않고, 그 객체에 대한 참조도 보관 유지합니다만, 그 복제 또는 카피에 대한 참조를 보관 유지하는 일이 있습니다.

파라미터:
environment - 초기 문맥 구현의 생성에 사용되는 환경 null 도 가능
반환값:
null 이외의 초기 문맥 팩토리
예외:
NamingException - 초기 문맥 팩토리를 생성할 수 없었던 경우

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 도 참조해 주세요.