Interstage Application Server リファレンスマニュアル(API編)
目次 索引 前ページ次ページ

第3章 Javaインタフェース> 3.20 イベントサービスインタフェース> 3.20.3 com.fujitsu.ObjectDirector.EventService.EventFactoryクラス

3.20.3.3 com.fujitsu.ObjectDirector.EventService.EventFactory.get_event_channel()

名前

  EventFactory.get_event_channel

形式

  import  com.fujitsu.ObjectDirector.EventService.*;
  public  interface EventFactory extends org.omg.CORBA.Object {
       public  org.omg.CosEventChannelAdmin.EventChannel  get_event_channel(
                String    key)
                throws org.omg.CosNotifyChannelAdmin.ChannelNotFound;
  }

機能説明

 EventFactoryのオブジェクトリファレンスは、org.omg.CORBA.ORB.resolve_initial_references()のobject_nameパラメタに以下の値を指定して獲得します。
  EventFactory.ObjectId_Factory

パラメタ

 key
 獲得するイベントチャネル名。

復帰値

 正常終了した場合は、keyで指定されたイベントチャネルのオブジェクトリファレンスが返されます。
 異常終了した場合は、例外が発生します。

 ユーザ例外の場合、以下の例外が発生します。

 org.omg.CosNotifyChannelAdmin.ChannelNotFound
 指定されたイベントチャネルは存在しません。

 システム例外の場合、以下の例外が発生します。

 org.omg.CORBA.COMM_FAILURE
 通信異常が発生しました。
 org.omg.CORBA.NO_IMPLEMENT
 イベントファクトリが起動されていません。

目次 索引 前ページ次ページ

All Rights Reserved, Copyright(C) 富士通株式会社 2005