Borland(R) Enterprise Server VisiBroker(R) プログラマーズリファレンス
- public org.omg.Object activate(
org.omg.CORBA.ImplementationDef impl)
このメソッドを使用して,Activatorが管理しているオブジェクトインプリメンテーションを活性化します。Activatorの管理下で,VisiBroker ORBが一つのオブジェクトに対するクライアント要求を受信すると,VisiBroker ORBはActivator上でactivate( )メソッドを呼び出します。このメソッドでは,ActivatorにImplementationDefパラメタを渡します。これで,VisiBroker ORBは活性化されたオブジェクトインプリメンテーションを一意に識別します。ここから,インプリメンテーションは一意の識別子であるref_dataを取得できます。
- impl
ImplementationDefのインスタンスです。
- public void deactivate(
org.omg. CORBA.Object obj,
org.omg.CORBA.ImplementationDef impl)
このメソッドは,Activatorの管理下でオブジェクトインプリメンテーションを非活性化させます。このメソッドでは,ActivatorにオブジェクトリファレンスとImplementationDefパラメタを渡します。これによって,VisiBroker ORBは非活性化対象のオブジェクトインプリメンテーションを一意に識別します。ここから,インプリメンテーションは一意の識別子であるref_dataを取得できます。たくさんのオブジェクトを使用したインプリメンテーションの場合,オブジェクトのキャッシュに負荷が掛かったとき,deactivate( )を使用して状態データを処理できます。
- obj
非活性化対象のオブジェクトのオブジェクトリファレンスです。
- impl
ImplementationDefのインスタンスです。
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.
COPYRIGHT (C) 1992-2004 Borland Software Corporation. All rights reserved.