11.3.7 <interface_name>POATie.java

<interface_name>POATie.javaファイルは,<interface_name>インタフェースのデリゲータインプリメンテーションです。すべてのオペレーションのデリゲート先である<interface_name>Operationsクラスをインプリメントするインプリメンテーションクラスのインスタンスで,tieクラスの各インスタンスを初期化する必要があります。

コードサンプル11-7 Example POATieファイル(Java)

public class examplePOATie extends examplePOA {
  public examplePOATie (final exampleOperations _delegate){
     . . .
  }
  public examplePOATie (final exampleOperations _delegate,
  final org.omg.PortableServer.POA _poa){
     . . .
  }
  public exampleOperations _delegate (){
     . . .
  }
  public void _delegate (final exampleOperations delegate){
     . . .
  }
  public org.omg.PortableServer.POA _default_POA (){
     . . .
  }
  public int op1 (char x, org.omg.CORBA.ShortHolder y){
     . . .
  }
}