public class PFComponentTransferUtility extends java.lang.Object implements PFComponent
このコンポーネントでは、 各種コンポーネント転送(連携コピー転送、連携置換転送、連携移動転送)を行う際に、 転送の種類に従って、転送対象コンポーネントの属性及び公開名の設定、 接続先のコンポーネントの属性及び公開名の設定を一括して行う機能を提供する。
コンストラクタと説明 |
---|
PFComponentTransferUtility()
コンポーネントを生成する。
|
修飾子とタイプ | メソッドと説明 |
---|---|
PFObjectList |
createComponentUpdateInfoList(java.lang.String oldBrokerName,
java.lang.String oldPlatformName,
int oldComponentID,
java.lang.String newBrokerName,
java.lang.String newPlatformName,
int newComponentID)
非推奨です。
|
void |
createRemoteComponentsThenReplaceConnections(java.lang.String brokerName,
java.lang.String platformName,
int componentID,
boolean isAsync,
boolean isLight)
非推奨です。
|
void |
createRemoteComponentsThenReproduceConnections(java.lang.String brokerName,
java.lang.String platformName,
boolean isAsync,
boolean isLight)
非推奨です。
|
int |
getComponentID()
コンポーネントIDを取得する。
|
java.lang.String |
getComponentKey()
コンポーネントキーを取得する。
|
PFMultiLocaleString |
getComponentKeys()
全ロケール分のコンポーネントキーを返す。
|
java.lang.String |
getComponentName()
コンポーネント名称を取得する。
|
java.lang.String |
getComponentPublicName()
コンポーネント公開名を取得する.
|
PFObjectList |
getComponentPublicNameList()
アプリケーション内で設定されているコンポーネント公開名をリストで取得する.
|
PFObjectList |
getComponentPublicNameList(PFConstructBase base)
指定された構築ベース以下で設定されているコンポーネント公開名をリストで取得する.
|
java.lang.String |
getComponentString()
コンポーネントの文字列表現を取得する。
|
PFObjectTable |
getContainComponentInfoTable(int minid,
int maxid,
boolean combinative)
非推奨です。
|
PFObjectList |
getHostNameList()
hostsfile.iniに記述されているホスト名をリストで取得する.
|
int |
getNextComponentID()
非推奨です。
|
static java.lang.String |
getPlatformName()
プラットフォーム名を取得する.
|
PFObjectList |
getPlatformNameList()
hostsfile.iniに記述されているプラットフォーム名をリストで取得する.
|
boolean |
isAllowPullTransfer()
他PFからのPull型コンポーネント転送要求に対する可否属性を取得する.
|
boolean |
isAllowPushTransfer()
他PFへのPush型コンポーネント転送要求に対する可否属性を取得する.
|
boolean |
isAllowRemoteInvocation()
他PFからのコンポーネント連携要求に対する可否属性を取得する.
|
void |
localeUpdated()
ロケール変更に対応する。
|
void |
replaceRemoteComponentsToComponents()
非推奨です。
|
void |
setAllowPullCopyTransfer(int id,
boolean bol)
PULL型コンポーネントコピー転送を許可する。
|
void |
setAllowPullCopyTransfer(PFComponent comp,
boolean bol)
PULL型コンポーネントコピー転送を許可する。
|
void |
setAllowPullCopyTransfer(PFObjectList compList,
boolean bol)
PULL型コンポーネントコピー転送を許可する。
|
void |
setAllowPullCopyTransfer(java.lang.String publicName,
boolean bol)
PULL型コンポーネントコピー転送を許可する。
|
void |
setAllowPullLinkedCopyTransfer(int id,
boolean bol)
PULL型コンポーネント連携コピー転送を許可する。
|
void |
setAllowPullLinkedCopyTransfer(PFComponent comp,
boolean bol)
PULL型コンポーネント連携コピー転送を許可する。
|
void |
setAllowPullLinkedCopyTransfer(PFObjectList compList,
boolean bol)
PULL型コンポーネント連携コピー転送を許可する。
|
void |
setAllowPullLinkedCopyTransfer(java.lang.String publicName,
boolean bol)
PULL型コンポーネント連携コピー転送を許可する。
|
void |
setAllowPullLinkedCopyTransferThenReplace(int id,
boolean bol)
PULL型コンポーネント連携置換転送を許可する。
|
void |
setAllowPullLinkedCopyTransferThenReplace(PFComponent comp,
boolean bol)
PULL型コンポーネント連携置換転送を許可する。
|
void |
setAllowPullLinkedCopyTransferThenReplace(PFObjectList compList,
boolean bol)
PULL型コンポーネント連携置換転送を許可する。
|
void |
setAllowPullLinkedCopyTransferThenReplace(java.lang.String publicName,
boolean bol)
PULL型コンポーネント連携置換転送を許可する。
|
void |
setAllowPullLinkedMoveTransfer(int id,
boolean bol)
PULL型コンポーネント連携移動転送を許可する。
|
void |
setAllowPullLinkedMoveTransfer(PFComponent comp,
boolean bol)
PULL型コンポーネント連携移動転送を許可する。
|
void |
setAllowPullLinkedMoveTransfer(PFObjectList compList,
boolean bol)
PULL型コンポーネント連携移動転送を許可する。
|
void |
setAllowPullLinkedMoveTransfer(java.lang.String publicName,
boolean bol)
PULL型コンポーネント連携移動転送を許可する。
|
void |
setAllowPullTransfer(boolean flag)
他PFからのPull型コンポーネント転送要求に対する可否属性を設定する.
|
void |
setAllowPushCopyTransfer(int id,
boolean bol)
PUSH型コンポーネントコピー転送を許可する。
|
void |
setAllowPushCopyTransfer(PFComponent comp,
boolean bol)
PUSH型コンポーネントコピー転送を許可する。
|
void |
setAllowPushCopyTransfer(PFObjectList compList,
boolean bol)
PUSH型コンポーネントコピー転送を許可する。
|
void |
setAllowPushCopyTransfer(java.lang.String publicName,
boolean bol)
PUSH型コンポーネントコピー転送を許可する。
|
void |
setAllowPushLinkedCopyTransfer(int id,
boolean bol)
PUSH型コンポーネント連携コピー転送を許可する。
|
void |
setAllowPushLinkedCopyTransfer(PFComponent comp,
boolean bol)
PUSH型コンポーネント連携コピー転送を許可する。
|
void |
setAllowPushLinkedCopyTransfer(PFObjectList compList,
boolean bol)
PUSH型コンポーネント連携コピー転送を許可する。
|
void |
setAllowPushLinkedCopyTransfer(java.lang.String publicName,
boolean bol)
PUSH型コンポーネント連携コピー転送を許可する。
|
void |
setAllowPushLinkedCopyTransferThenReplace(int id,
boolean bol)
PUSH型コンポーネント連携置換転送を許可する。
|
void |
setAllowPushLinkedCopyTransferThenReplace(PFComponent comp,
boolean bol)
PUSH型コンポーネント連携置換転送を許可する。
|
void |
setAllowPushLinkedCopyTransferThenReplace(PFObjectList compList,
boolean bol)
PUSH型コンポーネント連携置換転送を許可する。
|
void |
setAllowPushLinkedCopyTransferThenReplace(java.lang.String publicName,
boolean bol)
PUSH型コンポーネント連携置換転送を許可する。
|
void |
setAllowPushLinkedMoveTransfer(int id,
boolean bol)
PUSH型コンポーネント連携移動転送を許可する。
|
void |
setAllowPushLinkedMoveTransfer(PFComponent comp,
boolean bol)
PUSH型コンポーネント連携移動転送を許可する。
|
void |
setAllowPushLinkedMoveTransfer(PFObjectList compList,
boolean bol)
PUSH型コンポーネント連携移動転送を許可する。
|
void |
setAllowPushLinkedMoveTransfer(java.lang.String publicName,
boolean bol)
PUSH型コンポーネント連携移動転送を許可する。
|
void |
setAllowPushTransfer(boolean flag)
他PFへのPush型コンポーネント転送要求に対する可否属性を設定する.
|
void |
setAllowRemoteInvocation(boolean flag)
他PFからのコンポーネント連携要求に対する可否属性を設定する.
|
void |
setBrokerName(PFComponentCooperationComponent remoteComp,
java.lang.String brokerName)
非推奨です。
|
void |
setComponentID(int id)
コンポーネントIDを設定する。
|
void |
setComponentInfo(PFComponentCooperationComponent comp,
java.lang.String aPlatformName,
int aComponentID)
リモートメソッドの連携先情報だけ変更する.
|
void |
setComponentInfo(PFComponentCooperationComponent comp,
java.lang.String aPlatformName,
java.lang.String aComponentPublicName)
リモートメソッドの連携先情報だけ変更する.
|
void |
setComponentInfo(PFComponentCooperationComponent remoteComp,
java.lang.String brokerName,
java.lang.String platformName,
int componentID)
非推奨です。
|
void |
setComponentInfo(PFRemoteComponent comp,
java.lang.String aPlatformName,
int aComponentID)
リモートコンポーネントの連携先情報だけ変更する.
|
void |
setComponentInfo(PFRemoteComponent comp,
java.lang.String aPlatformName,
java.lang.String aComponentPublicName)
リモートコンポーネントの連携先情報だけ変更する.
|
void |
setComponentKey(java.lang.String key)
コンポーネントキーを設定する。
|
void |
setComponentKeys(PFMultiLocaleString keys)
全ロケール分のコンポーネントキーを設定する。
|
void |
setComponentPublicName(java.lang.String publicName)
コンポーネント公開名を設定する.
|
void |
setEditComponent(PFComponent component)
非推奨です。
|
void |
setMethodCopying(boolean copying)
非推奨です。
|
void |
setPlatformName(PFComponentCooperationComponent remoteComp,
java.lang.String platformName)
非推奨です。
|
void |
updateComponentInfo(PFObjectList list)
非推奨です。
|
void |
updateComponentInfo(java.lang.String oldBrokerName,
java.lang.String oldPlatformName,
int oldComponentID,
java.lang.String newBrokerName,
java.lang.String newPlatformName,
int newComponentID)
非推奨です。
|
public java.lang.String getComponentName()
getComponentName
インタフェース内 PFComponent
public java.lang.String getComponentKey()
getComponentKey
インタフェース内 PFComponent
public void setComponentKey(java.lang.String key)
setComponentKey
インタフェース内 PFComponent
key
- コンポーネントキーpublic PFMultiLocaleString getComponentKeys()
public void setComponentKeys(PFMultiLocaleString keys)
keys
- 全ロケール分のコンポーネントキーpublic int getComponentID()
getComponentID
インタフェース内 PFComponent
public void setComponentID(int id)
PFComponentBus
から設定される。
各コンポーネント内では操作しないこと。setComponentID
インタフェース内 PFComponent
id
- 設定するコンポーネントIDpublic java.lang.String getComponentString()
getComponentString
インタフェース内 PFComponent
public java.lang.String getComponentPublicName()
getComponentPublicName
インタフェース内 PFComponent
public void setComponentPublicName(java.lang.String publicName) throws PFComponentException
setComponentPublicName
インタフェース内 PFComponent
publicName
- 設定するコンポーネント公開名PFComponentException
- 規約に反する名前が設定されようとした場合public boolean isAllowRemoteInvocation()
isAllowRemoteInvocation
インタフェース内 PFComponent
public void setAllowRemoteInvocation(boolean flag)
setAllowRemoteInvocation
インタフェース内 PFComponent
flag
- コンポーネント連携要求に対する可否public boolean isAllowPullTransfer()
isAllowPullTransfer
インタフェース内 PFComponent
public void setAllowPullTransfer(boolean flag)
setAllowPullTransfer
インタフェース内 PFComponent
flag
- Pull型コンポーネント転送要求に対する可否public boolean isAllowPushTransfer()
isAllowPushTransfer
インタフェース内 PFComponent
public void setAllowPushTransfer(boolean flag)
setAllowPushTransfer
インタフェース内 PFComponent
flag
- Push型コンポーネント転送要求に対する可否public void localeUpdated()
localeUpdated
インタフェース内 PFComponent
public void setEditComponent(PFComponent component)
component
- コンポーネントpublic void createRemoteComponentsThenReplaceConnections(java.lang.String brokerName, java.lang.String platformName, int componentID, boolean isAsync, boolean isLight) throws PFComponentException
brokerName
- ブローカ名(簡素版の場合、省略可能)platformName
- 相手のプラットフォーム名componentID
- 転送先でのコンポーネントIDisAsync
- 非同期の場合 trueisLight
- 簡素版の場合 truePFComponentException
public void setMethodCopying(boolean copying) throws PFComponentException
copying
- 転送する場合true、転送しない場合falsePFComponentException
public void createRemoteComponentsThenReproduceConnections(java.lang.String brokerName, java.lang.String platformName, boolean isAsync, boolean isLight) throws PFComponentException
brokerName
- ブローカ名(簡素版の場合、省略可能)platformName
- 転送元のプラットフォーム名isAsync
- 非同期の場合 trueisLight
- 簡素版の場合 truePFComponentException
public void updateComponentInfo(java.lang.String oldBrokerName, java.lang.String oldPlatformName, int oldComponentID, java.lang.String newBrokerName, java.lang.String newPlatformName, int newComponentID)
oldBrokerName
- 旧ブローカ名(簡素版の場合、省略可能)oldPlatformName
- 旧プラットフォーム名oldComponentID
- 旧コンポーネントIDnewBrokerName
- 新ブローカ名(簡素版の場合、省略可能)newPlatformName
- 新プラットフォーム名newComponentID
- 新コンポーネントIDpublic void updateComponentInfo(PFObjectList list)
list
- リモートコンポーネントの変更情報を表すリスト(旧ブローカ名、旧プラットフォーム名、旧コンポーネントID、
新ブローカ名、新プラットフォーム名、新コンポーネントIDを要素とする)public void setComponentInfo(PFComponentCooperationComponent remoteComp, java.lang.String brokerName, java.lang.String platformName, int componentID)
remoteComp
- リモートコンポーネントbrokerName
- ブローカ名platformName
- プラットフォーム名componentID
- コンポーネントIDpublic void setPlatformName(PFComponentCooperationComponent remoteComp, java.lang.String platformName)
remoteComp
- リモートコンポーネントplatformName
- プラットフォーム名public void setBrokerName(PFComponentCooperationComponent remoteComp, java.lang.String brokerName)
remoteComp
- リモートコンポーネントbrokerName
- ブローカ名public PFObjectList createComponentUpdateInfoList(java.lang.String oldBrokerName, java.lang.String oldPlatformName, int oldComponentID, java.lang.String newBrokerName, java.lang.String newPlatformName, int newComponentID)
oldBrokerName
- 旧ブローカ名(簡素版の場合、省略可能)oldPlatformName
- 旧プラットフォーム名(簡素版の場合、省略可能)oldComponentID
- 旧コンポーネントIDnewBrokerName
- 新ブローカ名newPlatformName
- 新プラットフォーム名newComponentID
- 新コンポーネントIDpublic void replaceRemoteComponentsToComponents() throws PFComponentException
public int getNextComponentID()
public PFObjectTable getContainComponentInfoTable(int minid, int maxid, boolean combinative)
minid
- 取得するコンポーネントのIDの最小値(指定しない場合-1を指定)maxid
- 取得するコンポーネントのIDの最大値(指定しない場合-1を指定)combinative
- 複合コンポーネントの情報のみ取得する場合 truepublic void setAllowPushCopyTransfer(PFComponent comp, boolean bol)
comp
- コンポーネントbol
- 転送可否public void setAllowPushCopyTransfer(java.lang.String publicName, boolean bol)
comp
- コンポーネント公開名bol
- 転送可否public void setAllowPushCopyTransfer(int id, boolean bol)
comp
- コンポーネントIDbol
- 転送可否public void setAllowPushCopyTransfer(PFObjectList compList, boolean bol)
comp
- コンポーネントリストbol
- 転送可否public void setAllowPushLinkedCopyTransfer(PFComponent comp, boolean bol)
comp
- コンポーネントbol
- 転送可否public void setAllowPushLinkedCopyTransfer(java.lang.String publicName, boolean bol)
comp
- コンポーネント公開名bol
- 転送可否public void setAllowPushLinkedCopyTransfer(int id, boolean bol)
comp
- コンポーネントIDbol
- 転送可否public void setAllowPushLinkedCopyTransfer(PFObjectList compList, boolean bol)
comp
- コンポーネントリストbol
- 転送可否public void setAllowPushLinkedMoveTransfer(PFComponent comp, boolean bol)
comp
- コンポーネントbol
- 転送可否public void setAllowPushLinkedMoveTransfer(java.lang.String publicName, boolean bol)
comp
- コンポーネント公開名bol
- 転送可否public void setAllowPushLinkedMoveTransfer(int id, boolean bol)
comp
- コンポーネントIDbol
- 転送可否public void setAllowPushLinkedMoveTransfer(PFObjectList compList, boolean bol)
comp
- コンポーネントリストbol
- 転送可否public void setAllowPushLinkedCopyTransferThenReplace(PFComponent comp, boolean bol)
comp
- コンポーネントbol
- 転送可否public void setAllowPushLinkedCopyTransferThenReplace(java.lang.String publicName, boolean bol)
comp
- コンポーネント公開名bol
- 転送可否public void setAllowPushLinkedCopyTransferThenReplace(int id, boolean bol)
comp
- コンポーネントIDbol
- 転送可否public void setAllowPushLinkedCopyTransferThenReplace(PFObjectList compList, boolean bol)
comp
- コンポーネントリストbol
- 転送可否public void setAllowPullCopyTransfer(PFComponent comp, boolean bol)
comp
- コンポーネントbol
- 転送可否public void setAllowPullCopyTransfer(java.lang.String publicName, boolean bol)
comp
- コンポーネント公開名bol
- 転送可否public void setAllowPullCopyTransfer(int id, boolean bol)
comp
- コンポーネントIDbol
- 転送可否public void setAllowPullCopyTransfer(PFObjectList compList, boolean bol)
comp
- コンポーネントリストbol
- 転送可否public void setAllowPullLinkedCopyTransfer(PFComponent comp, boolean bol)
comp
- コンポーネントbol
- 転送可否public void setAllowPullLinkedCopyTransfer(java.lang.String publicName, boolean bol)
comp
- コンポーネント公開名bol
- 転送可否public void setAllowPullLinkedCopyTransfer(int id, boolean bol)
comp
- コンポーネントIDbol
- 転送可否public void setAllowPullLinkedCopyTransfer(PFObjectList compList, boolean bol)
comp
- コンポーネントリストbol
- 転送可否public void setAllowPullLinkedMoveTransfer(PFComponent comp, boolean bol)
comp
- コンポーネントbol
- 転送可否public void setAllowPullLinkedMoveTransfer(java.lang.String publicName, boolean bol)
comp
- コンポーネント公開名bol
- 転送可否public void setAllowPullLinkedMoveTransfer(int id, boolean bol)
comp
- コンポーネントIDbol
- 転送可否public void setAllowPullLinkedMoveTransfer(PFObjectList compList, boolean bol)
comp
- コンポーネントリストbol
- 転送可否public void setAllowPullLinkedCopyTransferThenReplace(PFComponent comp, boolean bol)
comp
- コンポーネントbol
- 転送可否public void setAllowPullLinkedCopyTransferThenReplace(java.lang.String publicName, boolean bol)
comp
- コンポーネント公開名bol
- 転送可否public void setAllowPullLinkedCopyTransferThenReplace(int id, boolean bol)
comp
- コンポーネントIDbol
- 転送可否public void setAllowPullLinkedCopyTransferThenReplace(PFObjectList compList, boolean bol)
comp
- コンポーネントリストbol
- 転送可否public PFObjectList getComponentPublicNameList()
public PFObjectList getComponentPublicNameList(PFConstructBase base)
base
- 対象構築ベースpublic PFObjectList getPlatformNameList()
public PFObjectList getHostNameList()
public static java.lang.String getPlatformName()
public void setComponentInfo(PFComponentCooperationComponent comp, java.lang.String aPlatformName, java.lang.String aComponentPublicName)
comp
- リモートメソッドaPlatformName
- プラットフォーム名aComponentPublicName
- コンポーネント公開名public void setComponentInfo(PFComponentCooperationComponent comp, java.lang.String aPlatformName, int aComponentID)
comp
- リモートメソッドaPlatformName
- プラットフォーム名aComponentID
- コンポーネントIDpublic void setComponentInfo(PFRemoteComponent comp, java.lang.String aPlatformName, java.lang.String aComponentPublicName)
comp
- リモートコンポーネントaPlatformName
- プラットフォーム名aComponentPublicName
- コンポーネント公開名public void setComponentInfo(PFRemoteComponent comp, java.lang.String aPlatformName, int aComponentID)
comp
- リモートコンポーネントaPlatformName
- プラットフォーム名aComponentID
- コンポーネントID