jp.go.aist.rtm.RTC
クラス CorbaObjectManager

java.lang.Object
  上位を拡張 jp.go.aist.rtm.RTC.CorbaObjectManager

 class CorbaObjectManager
extends java.lang.Object

CorbaObjectManagerクラスです。 CORBA オブジェクトをアクティブ化、非アクティブ化します。


コンストラクタの概要
CorbaObjectManager(org.omg.CORBA.ORB orb, org.omg.PortableServer.POA poa)
          コンストラクタです。
 
メソッドの概要
 void activate(ExecutionContextBase comp)
          CORBA オブジェクト(ExecutionContext)をアクティブ化します。
 void activate(RTObject_impl comp)
          CORBA オブジェクト(RTObjct)をアクティブ化します。
 void deactivate(org.omg.PortableServer.Servant comp)
          CORBA オブジェクトを非アクティブ化します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CorbaObjectManager

public CorbaObjectManager(org.omg.CORBA.ORB orb,
                          org.omg.PortableServer.POA poa)

コンストラクタです。

パラメータ:
orb - ORB
poa - POA
メソッドの詳細

activate

public void activate(RTObject_impl comp)
              throws org.omg.PortableServer.POAPackage.ServantAlreadyActive,
                     org.omg.PortableServer.POAPackage.WrongPolicy,
                     org.omg.PortableServer.POAPackage.ObjectNotActive

CORBA オブジェクト(RTObjct)をアクティブ化します。

パラメータ:
comp - アクティブ化対象RTObject
例外:
org.omg.PortableServer.POAPackage.ServantAlreadyActive - 対象Servantがすでにactivate済み
org.omg.PortableServer.POAPackage.WrongPolicy - POA でサポートされていないポリシーを使用
org.omg.PortableServer.POAPackage.ObjectNotActive - 指定された oid を持つオブジェクトが Active Object Map にない場合

activate

public void activate(ExecutionContextBase comp)
              throws org.omg.PortableServer.POAPackage.ServantAlreadyActive,
                     org.omg.PortableServer.POAPackage.WrongPolicy,
                     org.omg.PortableServer.POAPackage.ObjectNotActive

CORBA オブジェクト(ExecutionContext)をアクティブ化します。

パラメータ:
comp - アクティブ化対象ExecutionContext
例外:
org.omg.PortableServer.POAPackage.ServantAlreadyActive - 対象Servantがすでにactivate済み
org.omg.PortableServer.POAPackage.WrongPolicy - POA でサポートされていないポリシーを使用
org.omg.PortableServer.POAPackage.ObjectNotActive - 指定された oid を持つオブジェクトが Active Object Map にない場合

deactivate

public void deactivate(org.omg.PortableServer.Servant comp)
                throws org.omg.PortableServer.POAPackage.ServantNotActive,
                       org.omg.PortableServer.POAPackage.WrongPolicy,
                       org.omg.PortableServer.POAPackage.ObjectNotActive

CORBA オブジェクトを非アクティブ化します。

パラメータ:
comp - 非アクティブ化対象オブジェクト
例外:
org.omg.PortableServer.POAPackage.ServantAlreadyActive - 対象Servantがactivate化されていない
org.omg.PortableServer.POAPackage.WrongPolicy - POA でサポートされていないポリシーを使用
org.omg.PortableServer.POAPackage.ObjectNotActive - 指定された oid を持つオブジェクトが Active Object Map にない場合
org.omg.PortableServer.POAPackage.ServantNotActive