|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
public interface NamingContextExtOperations
NamingContextExt
는, 각각의 이름이 고유해 Interoperable Naming Service 의 일부인 이름 바인딩세트를 포함하는 NamingContext
의 확장입니다. 다른 이름을, 동시에, 같은 문맥 또는 다른 문맥으로 바인드 할 수 있습니다. NamingContextExt 를 사용하면(자), URL 베이스의 이름을 사용해 바인드 및 해결이 가능하게 됩니다.
「CORBA COS Naming Specification」 를 참조해 주세요.
메소드의 개요 | |
---|---|
Object |
resolve_str (String sn)
캐릭터 라인화 된 이름을 객체 참조에 해결합니다. |
NameComponent [] |
to_name (String sn)
캐릭터 라인화 된 이름을, 등가인 이름 컴퍼넌트의 배열로 변환합니다. |
String |
to_string (NameComponent [] n)
이름 컴퍼넌트의 배열로부터 캐릭터 라인에 변환된 이름을 작성합니다. |
String |
to_url (String addr,
String sn)
객체의 캐릭터 라인화 된 이름으로부터 URL 베이스의 "iiopname://" 형식의 이름을 작성합니다. |
인터페이스 org.omg.CosNaming. NamingContextOperations 로부터 상속된 메소드 |
---|
bind_context , bind_new_context , bind , destroy , list , new_context , rebind_context , rebind , resolve , unbind |
메소드의 상세 |
---|
String to_string(NameComponent [] n) throws InvalidName
n
- 객체의 이름
org.omg.CosNaming.NamingContextExtPackage.InvalidName
- 이름으로 바인딩을 식별할 수 없는 경우
InvalidName
NameComponent [] to_name(String sn) throws InvalidName
sn
- 객체의 캐릭터 라인화 된 이름
org.omg.CosNaming.NamingContextExtPackage.InvalidName
- 이름으로 바인딩을 식별할 수 없는 경우
InvalidName
String to_url(String addr, String sn) throws InvalidAddress , InvalidName
addr
- 네임 서비스를 실행하는 호스트 머신의 인터넷 베이스 주소 sn
- 객체의 캐릭터 라인화 된 이름
org.omg.CosNaming.NamingContextExtPackage.InvalidName
- 이름으로 바인딩을 식별할 수 없는 경우
org.omg.CosNaming.NamingContextPackage.InvalidAddress
- 호스트 머신의 인터넷 베이스 주소가
올바르지 않은 경우
InvalidAddress
InvalidName
Object resolve_str(String sn) throws NotFound , CannotProceed , InvalidName
sn
- 객체의 캐릭터 라인화 된 이름
NotFound
- 지정된 이름의 객체 참조가 존재하지 않는 경우
CannotProceed
- 지정된 복합명이 올바르지 않은 경우
org.omg.CosNaming.NamingContextExtPackage.InvalidName
- 이름으로 바인딩을 식별할 수 없는 경우
InvalidName
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.