次のEnterprise BeanのEnterprise Bean名を参照および変更します。
次のコマンドを実行して,Enterprise Bean属性ファイル(Session Bean属性ファイルまたはEntity Bean属性ファイル)を取得します。
cjgetappprop [<サーバ名称>] [-nameserver <プロバイダURL>] -name <J2EEアプリケーション名> -type ejb -resname <EJB-JAR表示名>/<Enterprise Bean表示名> -c <Enterprise Bean属性ファイルパス※> |
cjgetappprop MyServer -name account -type ejb -resname account/MyAccount -c C:¥home¥MyAccount.xml
次のコマンドを実行して,Enterprise Bean属性ファイル(Session Bean属性ファイルまたはEntity Bean属性ファイル)の値を反映します。
cjsetappprop [<サーバ名称>] [-nameserver <プロバイダURL>] -name <J2EEアプリケーション名> -type ejb -resname <EJB-JAR表示名>/<Enterprise Bean表示名> -c <Enterprise Bean属性ファイルパス※> |
cjsetappprop MyServer -name account -type ejb -resname account/MyAccount -c C:¥home¥MyAccount.xml
Enterprise Bean属性ファイル(Session Bean属性ファイルまたはEntity Bean属性ファイル)のEnterprise Bean名を,実行時属性(<runtime>)で参照および変更します。
項目 | 必須 | 対応するタグ名 |
---|---|---|
Enterprise Beanのルックアップ名 | ○ | <lookup-name> |
リモートインタフェースを持つEnterprise Bean名の別名 | △ | <optional-name> |
ローカルインタフェースを持つEnterprise Bean名の別名 | △ | <local-optional-name> |
(凡例) ○:必須 △:任意
プロパティの設定項目の説明については,マニュアル「Cosminexus リファレンス 定義編」を参照してください。