|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectorg.omg.PortableServer.Servant
org.omg.CosNaming.NamingContextExtPOA
public abstract class NamingContextExtPOA
NamingContextExt
는, 각각의 이름이 고유해 Interoperable Naming Service 의 일부인 이름 바인딩세트를 포함하는 NamingContext
의 확장입니다. 다른 이름을, 동시에, 같은 문맥 또는 다른 문맥으로 바인드 할 수 있습니다. NamingContextExt 를 사용하면(자), URL 베이스의 이름을 사용해 바인드 및 해결이 가능하게 됩니다.
「CORBA COS Naming Specification」 를 참조해 주세요.
생성자 의 개요 | |
---|---|
NamingContextExtPOA ()
|
메소드의 개요 | |
---|---|
String [] |
_all_interfaces (POA poa,
byte[] objectId)
ORB 가 서번트로부터 완전한 형태 정보를 취득하기 위해서 사용합니다. |
OutputStream |
_invoke (String $method,
InputStream in,
ResponseHandler $rh)
요구를 서번트에게 발송 하기 위해서, ORB 에 의해 불려 갑니다. |
NamingContextExt |
_this ()
|
NamingContextExt |
_this (ORB orb)
|
클래스 org.omg.PortableServer. Servant 로부터 상속된 메소드 |
---|
_default_POA , _get_delegate , _get_interface_def , _is_a , _non_existent , _object_id , _orb , _poa , _set_delegate , _this_object , _this_object |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
인터페이스 org.omg.CosNaming. NamingContextExtOperations 로부터 상속된 메소드 |
---|
resolve_str , to_name , to_string , to_url |
인터페이스 org.omg.CosNaming. NamingContextOperations 로부터 상속된 메소드 |
---|
bind_context , bind_new_context , bind , destroy , list , new_context , rebind_context , rebind , resolve , unbind |
생성자 의 상세 |
---|
public NamingContextExtPOA()
메소드의 상세 |
---|
public OutputStream _invoke(String $method, InputStream in, ResponseHandler $rh)
InvokeHandler
의 기술:1. 올바른 메소드를 정의해, InputStream 로부터의 파라미터를 비정렬화한다
2. 메소드 구현을 호출한다
3. 사용자 예외가 없는 경우, ResponseHandler 를 사용해 일반적으로의 응답을 작성한다
4. 사용자 예외가 발생했을 경우, ResponseHandler 를 사용해 예외 응답을 작성한다
5. ResponseHandler 에 의해 반환된 OutputStream 에 응답을 정렬화한다
6. OutputStream 를 ORB 에 돌려준다
InvokeHandler
내의 _invoke
$method
- 메소드명in
- 정렬화 된 인수를 포함하는 InputStream
$rh
- 적절한 응답을 구축하기 위해서 서번트가
사용하는 ResponseHandler
OutputStream
public String [] _all_interfaces(POA poa, byte[] objectId)
Servant
의 기술:
Servant
내의 _all_interfaces
poa
- 서번트가 관련지을 수 있고 있는 POAobjectId
- 이 서번트가 관련지을 수 있었다
객체에 대응하는 ID
public NamingContextExt _this()
public NamingContextExt _this(ORB orb)
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.