jp.go.aist.rtm.RTC
Class CorbaObjectManager

java.lang.Object
  extended by jp.go.aist.rtm.RTC.CorbaObjectManager

 class CorbaObjectManager
extends java.lang.Object

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


Constructor Summary
CorbaObjectManager(org.omg.CORBA.ORB orb, org.omg.PortableServer.POA poa)
          コンストラクタです。
 
Method Summary
 void activate(ExecutionContextBase comp)
          CORBA オブジェクト(ExecutionContext)をアクティブ化します。
 void activate(RTObject_impl comp)
          CORBA オブジェクト(RTObjct)をアクティブ化します。
 void deactivate(org.omg.PortableServer.Servant comp)
          CORBA オブジェクトを非アクティブ化します。
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorbaObjectManager

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

コンストラクタです。

Parameters:
orb - ORB
poa - POA
Method Detail

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)をアクティブ化します。

Parameters:
comp - アクティブ化対象RTObject
Throws:
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)をアクティブ化します。

Parameters:
comp - アクティブ化対象ExecutionContext
Throws:
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 オブジェクトを非アクティブ化します。

Parameters:
comp - 非アクティブ化対象オブジェクト
Throws:
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