|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
public interface InitialContextFactoryBuilder
이 인터페이스는, 초기 문맥 팩토리를 생성하는 빌더를 나타냅니다.
JNDI 시스템에서는, 실행시에 복수의 초기 문맥 구현을 지정할 수 있습니다. 초기 문맥은 초기 문맥 팩토리를 사용해 생성됩니다. 프로그램은 초기 문맥 팩토리를 생성하는 독자적인 빌더를 인스톨 할 수 있어 거기에 따라, NamingManager.setInitialContextFactoryBuilder()를 호출해 시스템로 사용되는 디폴트의 정책를 오버라이드(override) 할 수 있습니다. InitialContextFactoryBuilder 인터페이스는 그러한 빌더로 구현할 필요가 있습니다.
InitialContextFactory
,
NamingManager.getInitialContext(java.util.Hashtable, ? >)
,
NamingManager.setInitialContextFactoryBuilder(javax.naming.spi.InitialContextFactoryBuilder)
,
NamingManager.hasInitialContextFactoryBuilder()
,
InitialContext
,
InitialDirContext
메소드의 개요 | |
---|---|
InitialContextFactory |
createInitialContextFactory (Hashtable <?,?> environment)
지정된 환경을 사용해, 초기 문맥 팩토리를 생성합니다. |
메소드의 상세 |
---|
InitialContextFactory createInitialContextFactory(Hashtable <?,?> environment) throws NamingException
이 환경 파라미터는 호출해 옆이 소유합니다. 구현은 객체를 변경하지 않고, 그 객체에 대한 참조도 보관 유지합니다만, 그 복제 또는 카피에 대한 참조를 보관 유지하는 일이 있습니다.
environment
- 초기 문맥 구현의 생성에 사용되는 환경
null 도 가능
NamingException
- 초기 문맥 팩토리를 생성할 수 없었던 경우
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.