|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Object org.omg.CORBA.portable.ObjectImpl org.omg.CosNaming. _NamingContextExtStub
public class _NamingContextExtStub
NamingContextExt
는, 각각의 이름이 고유해 Interoperable Naming Service 의 일부인 이름 바인딩세트를 포함하는 NamingContext
의 확장입니다. 다른 이름을, 동시에, 같은 문맥 또는 다른 문맥으로 바인드 할 수 있습니다. NamingContextExt 를 사용하면(자), URL 베이스의 이름을 사용해 바인드 및 해결이 가능하게 됩니다.
「CORBA COS Naming Specification」 를 참조해 주세요.
생성자 의 개요 | |
---|---|
_NamingContextExtStub ()
|
메소드의 개요 | |
---|---|
String [] |
_ids ()
이 ObjectImpl 객체가 지원하는 리포지터리(repository) 식별자를 포함한 캐릭터 라인 배열을 가져옵니다. |
void |
bind_context (NameComponent [] n,
NamingContext nc)
네이밍 문맥인 객체의 이름을 지정합니다. |
NamingContext |
bind_new_context (NameComponent [] n)
문맥을 새롭게 작성해, 인수로서 지정된 이름에 그 문맥을 바인드 합니다. |
void |
bind (NameComponent [] n,
Object obj)
네이밍 문맥에 이름과 객체의 바인딩을 작성합니다. |
void |
destroy ()
destroy 는 네이밍 문맥을 삭제합니다. |
void |
list (int how_many,
BindingListHolder bl,
BindingIteratorHolder bi)
list 를 사용하면(자), 클라이언트는 네이밍 문맥내의 일련의 바인딩을 차례차례로 취득할 수가 있습니다. |
NamingContext |
new_context ()
호출측의 문맥과 같은 네임서버-에 의해 구현되는 네이밍 문맥을 돌려줍니다. |
void |
rebind_context (NameComponent [] n,
NamingContext nc)
이름이 벌써 문맥으로 바인드 되고 있는 경우에서도, 네이밍 문맥에 이름과 네이밍 문맥의 바인딩을 작성합니다. |
void |
rebind (NameComponent [] n,
Object obj)
이름이 벌써 문맥으로 바인드 되고 있는 경우에서도, 네이밍 문맥에 이름과 객체의 바인딩을 작성합니다. |
Object |
resolve_str (String sn)
캐릭터 라인화 된 이름을 객체 참조에 해결합니다. |
Object |
resolve (NameComponent [] n)
resolve 는, 지정된 문맥으로 이름에 바인드 되고 있는 객체를 가져옵니다. |
NameComponent [] |
to_name (String sn)
캐릭터 라인화 된 이름을, 등가인 이름 컴퍼넌트의 배열로 변환합니다. |
String |
to_string (NameComponent [] n)
이름 컴퍼넌트의 배열로부터 캐릭터 라인에 변환된 이름을 작성합니다. |
String |
to_url (String addr,
String sn)
객체의 캐릭터 라인화 된 이름으로부터 URL 베이스의 "iiopname://" 형식의 이름을 작성합니다. |
void |
unbind (NameComponent [] n)
unbind 는, 문맥으로부터 네임 바인딩을 삭제합니다. |
클래스 org.omg.CORBA.portable. ObjectImpl 로부터 상속된 메소드 |
---|
_create_request , _create_request , _duplicate , _get_delegate , _get_domain_managers , _get_interface_def , _get_policy , _hash , _invoke , _is_a , _is_equivalent , _is_local , _non_existent , _orb , _release , _releaseReply , _request , _request , _servant_postinvoke , _servant_preinvoke , _set_delegate , _set_policy_override , equals , hashCode , toString |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , finalize , getClass , notify , notifyAll , wait , wait , wait |
인터페이스 org.omg.CORBA. Object 로부터 상속된 메소드 |
---|
_create_request , _create_request , _duplicate , _get_domain_managers , _get_interface_def , _get_policy , _hash , _is_a , _is_equivalent , _non_existent , _release , _request , _set_policy_override |
생성자 의 상세 |
---|
public _NamingContextExtStub()
메소드의 상세 |
---|
public String to_string(NameComponent [] n) throws InvalidName
NamingContextExtOperations
내의 to_string
n
- 객체의 이름
org.omg.CosNaming.NamingContextExtPackage.InvalidName
- 이름으로 바인딩을 식별할 수 없는 경우
InvalidName
public NameComponent [] to_name(String sn) throws InvalidName
NamingContextExtOperations
내의 to_name
sn
- 객체의 캐릭터 라인화 된 이름
org.omg.CosNaming.NamingContextExtPackage.InvalidName
- 이름으로 바인딩을 식별할 수 없는 경우
InvalidName
public String to_url(String addr, String sn) throws InvalidAddress , InvalidName
NamingContextExtOperations
내의 to_url
addr
- 네임 서비스를 실행하는 호스트 머신의 인터넷 베이스 주소 sn
- 객체의 캐릭터 라인화 된 이름
org.omg.CosNaming.NamingContextExtPackage.InvalidName
- 이름으로 바인딩을 식별할 수 없는 경우
org.omg.CosNaming.NamingContextPackage.InvalidAddress
- 호스트 머신의 인터넷 베이스 주소가
올바르지 않은 경우
InvalidAddress
InvalidName
public Object resolve_str(String sn) throws NotFound , CannotProceed , InvalidName
NamingContextExtOperations
내의 resolve_str
sn
- 객체의 캐릭터 라인화 된 이름
NotFound
- 지정된 이름의 객체 참조가 존재하지 않는 경우
CannotProceed
- 지정된 복합명이 올바르지 않은 경우
org.omg.CosNaming.NamingContextExtPackage.InvalidName
- 이름으로 바인딩을 식별할 수 없는 경우
InvalidName
public void bind(NameComponent [] n, Object obj) throws NotFound , CannotProceed , InvalidName , AlreadyBound
NamingContextOperations
내의 bind
n
- 객체의 이름 obj
- 지정된 이름에 바인드 되는 Object
NotFound
- 이름으로
바인딩을 식별할 수 없는 경우
CannotProceed
- 하등의 이유에 의해 구현이 중지되었을 경우.
다만 클라이언트는, 반환된 네이밍 문맥으로
처리를 속행할 수 있는 경우도 있다
InvalidName
- 이름이 무효인 경우
AlreadyBound
- 지정된 이름에 객체가 벌써 바인드 되고 있는 경우public void bind_context(NameComponent [] n, NamingContext nc) throws NotFound , CannotProceed , InvalidName , AlreadyBound
NamingContextOperations
내의 bind_context
n
- 객체의 이름 nc
- 지정된 이름에 바인드 되는 NamingContect 객체
NotFound
- 이름으로 바인딩을 식별할 수 없는 경우
CannotProceed
- 하등의 이유에 의해 구현이
중지되었을 경우. 다만 클라이언트는,
반환된 네이밍 문맥으로 처리를 속행할 수 있는 경우도 있다
InvalidName
- 이름이 무효인 경우
AlreadyBound
- 지정된 이름에 객체가
벌써 바인드 되고 있는 경우public void rebind(NameComponent [] n, Object obj) throws NotFound , CannotProceed , InvalidName
NamingContextOperations
내의 rebind
n
- 객체의 이름
NotFound
- 이름으로 바인딩을 식별할 수 없는 경우
CannotProceed
- 하등의 이유에 의해 구현이
중지되었을 경우. 다만 클라이언트는,
반환된 네이밍 문맥으로 처리를 속행할 수 있는 경우도 있다
InvalidName
- 이름이 무효인 경우 public void rebind_context(NameComponent [] n, NamingContext nc) throws NotFound , CannotProceed , InvalidName
NamingContextOperations
내의 rebind_context
n
- 객체의 이름 nc
- 지정된 이름에 재바인드 되는 NamingContect 객체
NotFound
- 이름으로 바인딩을 식별할 수 없는 경우
CannotProceed
- 하등의 이유에 의해 구현이
중지되었을 경우. 다만 클라이언트는,
반환된 네이밍 문맥으로 처리를 속행할 수 있는 경우도 있다
InvalidName
- 이름이 무효인 경우 public Object resolve(NameComponent [] n) throws NotFound , CannotProceed , InvalidName
NamingContextOperations
내의 resolve
n
- 객체의 이름
NotFound
- 이름으로 바인딩을 식별할 수 없는 경우
CannotProceed
- 하등의 이유에 의해 구현이
중지되었을 경우. 다만 클라이언트는,
반환된 네이밍 문맥으로 처리를 속행할 수 있는 경우도 있다
InvalidName
- 이름이 무효인 경우 public void unbind(NameComponent [] n) throws NotFound , CannotProceed , InvalidName
NamingContextOperations
내의 unbind
n
- 객체의 이름
NotFound
- 이름으로 바인딩을 식별할 수 없는 경우
CannotProceed
- 하등의 이유에 의해 구현이
중지되었을 경우. 다만 클라이언트는,
반환된 네이밍 문맥으로 처리를 속행할 수 있는 경우도 있다
InvalidName
- 이름이 무효인 경우 public void list(int how_many, BindingListHolder bl, BindingIteratorHolder bi)
list 는, 바인딩 리스트 bl 내의, 지정된 수를 최대 수라고 해 바인딩을 돌려줍니다.
NamingContextOperations
내의 list
how_many
- 반환되는 바인딩의 최대수 bl
- 반환되는 바인딩의 리스트 bi
- 반환되는 바인딩 반복자 public NamingContext new_context()
NamingContextOperations
내의 new_context
public NamingContext bind_new_context(NameComponent [] n) throws NotFound , AlreadyBound , CannotProceed , InvalidName
NamingContextOperations
내의 bind_new_context
n
- 객체의 이름
NotFound
- 이름으로 바인딩을 식별할 수 없는 경우
AlreadyBound
- 지정된 이름에 객체가
벌써 바인드 되고 있는 경우
CannotProceed
- 하등의 이유에 의해 구현이
중지되었을 경우. 다만 클라이언트는,
반환된 네이밍 문맥으로 처리를 속행할 수 있는 경우도 있다
InvalidName
- 이름이 무효인 경우 public void destroy() throws NotEmpty
NamingContextOperations
내의 destroy
NotEmpty
- Naming Context 에 바인딩이 있는 경우public String [] _ids()
ObjectImpl
의 기술:ObjectImpl
객체가 지원하는 리포지터리(repository) 식별자를 포함한 캐릭터 라인 배열을 가져옵니다. 예를 들어 Stub의 경우, 이 메소드는 Stub가 지원하는 모든 인터페이스에 관한 정보를 돌려줍니다.
ObjectImpl
내의 _ids
ObjectImpl
의 인스턴스가 지원하는 모든
리포지터리(repository) 식별자의 배열
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.