|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
| 개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 | |||||||||
java.lang.Objectorg.omg.PortableServer.Servant
org.omg.PortableServer.ServantActivatorPOA
public abstract class ServantActivatorPOA
POA 에 RETAIN 정책가 지정되고 있을 때는, 서번트 매니저로서 ServantActivator 가 사용됩니다.
| 생성자 의 개요 | |
|---|---|
ServantActivatorPOA ()
|
|
| 메소드의 개요 | |
|---|---|
String [] |
_all_interfaces (POA poa,
byte[] objectId)
ORB 가 서번트로부터 완전한 형태 정보를 취득하기 위해서 사용합니다. |
OutputStream |
_invoke (String $method,
InputStream in,
ResponseHandler $rh)
요구를 서번트에게 발송 하기 위해서, ORB 에 의해 불려 갑니다. |
ServantActivator |
_this ()
|
ServantActivator |
_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.PortableServer. ServantActivatorOperations 로부터 상속된 메소드 |
|---|
etherealize , incarnate |
| 생성자 의 상세 |
|---|
public ServantActivatorPOA()
| 메소드의 상세 |
|---|
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 ServantActivator _this()
public ServantActivator _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 도 참조해 주세요.