public class PFRemoteComponent extends java.lang.Object implements PFComponent, PFXMLSerializable, PFComponentCooperationResultEventSource
コンストラクタと説明 |
---|
PFRemoteComponent()
コンストラクタ.
|
PFRemoteComponent(java.lang.String aPlatformName,
java.lang.String aComponentPublicName,
int aRemoteComponentID,
PFObjectList aMethodList)
コンストラクタ.
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addComponentInfo(PFComponentInfo info)
コンポーネント情報リストに、新規コンポーネント情報を追加する。
|
void |
addPFComponentCooperationResultListener(PFComponentCooperationResultListener listener)
引数で与えられたイベントリスナを登録し、
PFComponentCooperationResultイベント発生時に処理を行う対象とする.
|
void |
doCallback(PFComponentCooperationResult result,
int eventNo)
コンポーネント連携の終了通知イベントを発行する.
|
int |
getComponentID()
コンポーネントIDを取得する.
|
PFComponentInfo |
getComponentInfo(int index)
指定したインデックスのコンポーネント情報を取得する.
|
int |
getComponentInfoCount()
コンポーネント情報リストの項目数を取得する.
|
PFObjectList |
getComponentInfoList()
コンポーネント情報リストを取得する.
|
java.lang.String |
getComponentKey()
コンポーネントキーを取得する.
|
PFMultiLocaleString |
getComponentKeys()
全ロケール分のコンポーネントキーを返す.
|
java.lang.String |
getComponentName()
コンポーネント名称を取得する.
|
java.lang.String |
getComponentPublicName()
コンポーネント公開名を取得する.
|
java.lang.String |
getComponentString()
コンポーネントの文字列表現を取得する.
|
boolean |
getIsAsync()
同期/非同期フラグを取得する.
|
java.util.Iterator |
getPFComponentCooperationResultListenerList()
イベントリスナ配列を取得する.
|
java.lang.String |
getPlatformName()
連携先プラットフォーム名を取得する.
|
int |
getRemoteComponentID()
連携先コンポーネントIDを取得する.
|
java.lang.String |
getRemoteComponentPublicName()
連携先コンポーネント公開名を取得する.
|
boolean |
isAllowPullTransfer()
他PFからのPull型コンポーネント転送要求に対する可否属性を取得する.
|
boolean |
isAllowPushTransfer()
他PFへのPush型コンポーネント転送要求に対する可否属性を取得する.
|
boolean |
isAllowRemoteInvocation()
他PFからのコンポーネント連携要求に対する可否属性を取得する.
|
void |
localeUpdated()
ロケール更新への対応を行う.
|
void |
readXML(PFXMLLoader in)
コンポーネントのXML入力.
|
void |
removeComponentInfo(int index)
指定したインデックスのコンポーネント情報を削除する.
|
void |
removePFComponentCooperationResultListener(PFComponentCooperationResultListener listener)
引数で与えられたイベントリスナを削除し、
PFComponentCooperationResultイベント発生時に処理を行う対象から外す.
|
void |
setAllowPullTransfer(boolean flag)
他PFからのPull型コンポーネント転送要求に対する可否属性を設定する.
|
void |
setAllowPushTransfer(boolean flag)
他PFへのPush型コンポーネント転送要求に対する可否属性を設定する.
|
void |
setAllowRemoteInvocation(boolean flag)
他PFからのコンポーネント連携要求に対する可否属性を設定する.
|
void |
setComponentID(int id)
コンポーネントIDを設定する.
|
void |
setComponentInfo(int index,
PFComponentInfo info)
指定したインデックスのコンポーネント情報を上書きする.
|
void |
setComponentInfoList(PFObjectList list)
コンポーネント情報リストを設定する.
|
void |
setComponentKey(java.lang.String key)
コンポーネントキーを設定する.
|
void |
setComponentKeys(PFMultiLocaleString keys)
全ロケール分のコンポーネントキーを設定する.
|
void |
setComponentPublicName(java.lang.String publicName)
コンポーネント公開名を設定する.
|
void |
setIsAsync(boolean flag)
同期/非同期フラグを設定する.
|
void |
setPlatformName(java.lang.String aPlatformName)
連携先プラットフォーム名を設定する.
|
void |
setRemoteComponentID(int aRemoteCompID)
連携先コンポーネントIDを設定する.
|
void |
setRemoteComponentPublicName(java.lang.String aRemoteCompPName)
連携先コンポーネント公開名を設定する.
|
void |
writeXML(PFXMLGenerator out)
コンポーネントのXML出力.
|
public PFRemoteComponent()
public PFRemoteComponent(java.lang.String aPlatformName, java.lang.String aComponentPublicName, int aRemoteComponentID, PFObjectList aMethodList)
aPlatformName
- 連携先プラットフォーム名aComponentPublicName
- 連携先コンポーネント公開名aMethodList
- メソッド情報リストpublic int getComponentID()
getComponentID
インタフェース内 PFComponent
setComponentID(int)
public void setComponentID(int id)
PFComponentBus
から設定される.
各コンポーネント内では操作しないこと.setComponentID
インタフェース内 PFComponent
id
- 設定するコンポーネントIDgetComponentID()
public java.lang.String getComponentKey()
getComponentKey
インタフェース内 PFComponent
setComponentKey(String)
public void setComponentKey(java.lang.String key)
setComponentKey
インタフェース内 PFComponent
key
- コンポーネントキーgetComponentKey()
public PFMultiLocaleString getComponentKeys()
setComponentKeys(PFMultiLocaleString)
public void setComponentKeys(PFMultiLocaleString keys)
keys
- 全ロケール分のコンポーネントキーgetComponentKeys()
public java.lang.String getComponentName()
getComponentName
インタフェース内 PFComponent
public java.lang.String getComponentPublicName()
getComponentPublicName
インタフェース内 PFComponent
setComponentPublicName(String)
public void setComponentPublicName(java.lang.String publicName) throws PFComponentException
setComponentPublicName
インタフェース内 PFComponent
publicName
- 設定するコンポーネント公開名PFComponentException
- 規約に反する名前が設定されようとした場合getComponentPublicName()
public java.lang.String getComponentString()
getComponentString
インタフェース内 PFComponent
public boolean isAllowRemoteInvocation()
isAllowRemoteInvocation
インタフェース内 PFComponent
setAllowRemoteInvocation(boolean)
public void setAllowRemoteInvocation(boolean flag)
setAllowRemoteInvocation
インタフェース内 PFComponent
flag
- コンポーネント連携要求に対する可否isAllowRemoteInvocation()
public boolean isAllowPullTransfer()
isAllowPullTransfer
インタフェース内 PFComponent
setAllowPullTransfer(boolean)
public void setAllowPullTransfer(boolean flag)
setAllowPullTransfer
インタフェース内 PFComponent
flag
- Pull型コンポーネント転送要求に対する可否isAllowPullTransfer()
public boolean isAllowPushTransfer()
isAllowPushTransfer
インタフェース内 PFComponent
setAllowPushTransfer(boolean)
public void setAllowPushTransfer(boolean flag)
setAllowPushTransfer
インタフェース内 PFComponent
flag
- Push型コンポーネント転送要求に対する可否isAllowPushTransfer()
public void localeUpdated()
localeUpdated
インタフェース内 PFComponent
public java.util.Iterator getPFComponentCooperationResultListenerList()
PFComponentCooperationResultEventSource
getPFComponentCooperationResultListenerList
インタフェース内 PFComponentCooperationResultEventSource
public void addPFComponentCooperationResultListener(PFComponentCooperationResultListener listener)
PFComponentCooperationResultEventSource
addPFComponentCooperationResultListener
インタフェース内 PFComponentCooperationResultEventSource
listener
- 追加対象イベントリスナPFComponentCooperationResultEventSource.removePFComponentCooperationResultListener(jp.go.aist.dmrc.platform.datacooperation.interfaces.PFComponentCooperationResultListener)
public void removePFComponentCooperationResultListener(PFComponentCooperationResultListener listener)
PFComponentCooperationResultEventSource
removePFComponentCooperationResultListener
インタフェース内 PFComponentCooperationResultEventSource
listener
- 削除対象イベントリスナPFComponentCooperationResultEventSource.addPFComponentCooperationResultListener(jp.go.aist.dmrc.platform.datacooperation.interfaces.PFComponentCooperationResultListener)
public void readXML(PFXMLLoader in)
readXML
インタフェース内 PFXMLSerializable
in
- XML入力ユーティリティpublic void writeXML(PFXMLGenerator out) throws java.io.IOException
writeXML
インタフェース内 PFXMLSerializable
out
- XML出力ユーティリティjava.io.IOException
public java.lang.String getPlatformName()
setPlatformName(String)
public void setPlatformName(java.lang.String aPlatformName)
aPlatformName
- 連携先プラットフォーム名getPlatformName()
public java.lang.String getRemoteComponentPublicName()
setRemoteComponentPublicName(String)
public void setRemoteComponentPublicName(java.lang.String aRemoteCompPName)
aRemoteCompPName
- 連携先コンポーネント公開名getRemoteComponentPublicName()
public int getRemoteComponentID()
setRemoteComponentID(int)
public void setRemoteComponentID(int aRemoteCompID)
aRemoteCompID
- 連携先コンポーネントIDgetRemoteComponentID()
public PFObjectList getComponentInfoList()
setComponentInfoList(PFObjectList)
public void setComponentInfoList(PFObjectList list)
list
- コンポーネント情報リストgetComponentInfoList()
public boolean getIsAsync()
setIsAsync(boolean)
public void setIsAsync(boolean flag)
flag
- 同期/非同期フラグgetIsAsync()
public int getComponentInfoCount()
public PFComponentInfo getComponentInfo(int index)
index
- インデックスpublic void addComponentInfo(PFComponentInfo info)
info
- コンポーネント情報public void removeComponentInfo(int index)
index
- インデックスpublic void setComponentInfo(int index, PFComponentInfo info)
index
- インデックスinfo
- コンポーネント情報public void doCallback(PFComponentCooperationResult result, int eventNo) throws PFDataCooperationComponentCooperationException
result
- 連携結果PFDataCooperationComponentCooperationException
- エラーが発生した場合