|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
public interface Delegate
이 이식 가능한 패키지는, ORB 의 구현측이 사용하는 것을 목적으로 설계된 인터페이스와 클래스로 구성됩니다. 이 패키지는, Stub나 스켈리턴을 ORB 에 접속하기 위해서 정의된 API 를 공개하고 있습니다. Delegate 인터페이스는, PortableServer::Servant 라고 하는 ORB 벤더 고유의 구현을 제공합니다. 이 패키지는, CORBA V2. 3.1 (ptc/00-01-08.pdf) 스펙에 준거하고 있습니다.
메소드의 개요 | |
---|---|
POA |
default_POA (Servant Self)
디폴트에서는, 이 함수는, 서번트가 관련지을 수 있었던 ORB 인스턴스의 루트 POA 를 돌려줍니다. |
Object |
get_interface_def (Servant self)
이 조작에서는, 프로그램이 사용하는 형태 정보를 제공하는, 인터페이스 리포지터리(repository)의 객체를 돌려줍니다. |
boolean |
is_a (Servant Self,
String Repository_Id)
이 메소드에서는, 지정된 repid 가, _all_interfaces()로부터 반환된 리스트에 존재할지 어떨지, 또는 범용 CORBA 객체의 리포지터리(repository) ID 일지 어떨지를 확인합니다. |
boolean |
non_existent (Servant Self)
이 조작은, 객체의 존재를 확인하기 위해서 사용합니다. |
byte[] |
object_id (Servant Self)
_object_id() 메소드는, PortableServer::Current::get_object_id 호출과 등가입니다. |
ORB |
orb (Servant Self)
서번트에게 현재 관련지을 수 있고 있는 ORB 의 인스턴스를 돌려주는 편리한 메소드입니다. |
POA |
poa (Servant Self)
_poa() 메소드는, PortableServer::Current:get_POA 호출과 등가입니다. |
Object |
this_object (Servant Self)
서번트는, 이 메소드를 사용해, 요구하고 있는 타겟 CORBA 객체의 객체 참조를 취득할 수 있습니다. |
메소드의 상세 |
---|
ORB orb(Servant Self)
Self
- 서번트
Object this_object(Servant Self)
Self
- 서번트
POA poa(Servant Self)
Self
- 서번트
byte[] object_id(Servant Self)
Self
- 서번트
POA default_POA(Servant Self)
Self
- 서번트
boolean is_a(Servant Self, String Repository_Id)
Self
- 서번트Repository_Id
- 리포지터리(repository) 리스트에 존재하는 것, 또는
범용 CORBA 객체의 ID 인 것을 확인한다
repository_id
boolean non_existent(Servant Self)
Self
- 서번트
Object get_interface_def(Servant self)
self
- 서번트
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.