|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectorg.omg.PortableServer.Servant
org.omg.PortableServer.ServantActivatorPOA
public abstract class ServantActivatorPOA
POA 具有 RETAIN 策略時使用 ServantActivator 這種 servant 管理器。
| 建構子摘要 | |
|---|---|
ServantActivatorPOA()
|
|
| 方法摘要 | |
|---|---|
String[] |
_all_interfaces(POA poa,
byte[] objectId)
ORB 使用此操作從 servant 獲取完整的型別資訊。 |
OutputStream |
_invoke(String $method,
InputStream in,
ResponseHandler $rh)
由 ORB 調用來排程對 servant 的請求。 |
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 - servant 用來建構正確應答的 ResponseHandler。
OutputStream。
public String[] _all_interfaces(POA poa,
byte[] objectId)
Servant 複製的描述
Servant 中的 _all_interfacespoa - 與 servant 關聯的 POA。objectId - 對應於與此 servant 關聯的物件的 id。
public ServantActivator _this()
public ServantActivator _this(ORB orb)
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。