IM-ERP Real Connect

jp.co.intra_mart.foundation.sap.common.auth
クラス SapClientWithLoadBalancing

java.lang.Object
  上位を拡張 jp.co.intra_mart.foundation.sap.common.auth.SapClient
      上位を拡張 jp.co.intra_mart.foundation.sap.common.auth.SapClientWithLoadBalancing
すべての実装されたインタフェース:
Serializable

public class SapClientWithLoadBalancing
extends SapClient

SAPClientPoolクラス。
機能は以下の通り。

本クラスのインスタンスは、SapClientManagerから生成することができます。

導入されたバージョン:
6.1
バージョン:
8.0
関連項目:
直列化された形式

入れ子のクラスの概要
 
クラス jp.co.intra_mart.foundation.sap.common.auth.SapClient から継承された入れ子のクラス/インタフェース
SapClient.MyDestinationDataProvider
 
フィールドの概要
 
クラス jp.co.intra_mart.foundation.sap.common.auth.SapClient から継承されたフィールド
connection
 
コンストラクタの概要
protected SapClientWithLoadBalancing(String serverType, String client, String user, String passwd, String lang, String mshost, String r3name, String group)
          引数にて受け取った接続情報を属性にセットします。
 
メソッドの概要
protected  String getDataDestinationName()
          接続先名を取得します。
protected  Properties getDesiinationProperties()
          接続先情報プロパティを取得します。
 String getGroup()
          グループIDを取得します。
 String getHost()
          接続先IPアドレスを取得します。
 String getMshost()
          接続先メッセージサーバIPアドレスを取得します。
 String getR3name()
          SAPシステム名称を取得します。
protected  void releaseConnection()
          取得したJCOコネクションの開放を行います。
 void setGroup(String group)
          グループIDを設定します。
 void setMshost(String mshost)
          接続先メッセージサーバIPアドレスを設定します。
 void setR3name(String r3name)
          SAPシステム名称を設定します。
 String toString()
          デバッグ用のメソッドです。
 
クラス jp.co.intra_mart.foundation.sap.common.auth.SapClient から継承されたメソッド
createClient, getAutoCommit, getClient, getDestinationDataProvider, getIdentifier, getJCOClient, getLang, getPasswd, getServerType, getUser, release, setAutoCommit, setClient, setLang, setPasswd, setUser
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

SapClientWithLoadBalancing

protected SapClientWithLoadBalancing(String serverType,
                                     String client,
                                     String user,
                                     String passwd,
                                     String lang,
                                     String mshost,
                                     String r3name,
                                     String group)
引数にて受け取った接続情報を属性にセットします。

パラメータ:
serverType - サーバータイプ
client - クライアント
user - ユーザー
passwd - パスワード
lang - 言語
mshost - 接続先メッセージサーバIPアドレス
r3name - SAPシステム名称
group - グループID
メソッドの詳細

getMshost

public String getMshost()
接続先メッセージサーバIPアドレスを取得します。

戻り値:
mshome 設定した接続先メッセージサーバIPアドレス

setMshost

public void setMshost(String mshost)
接続先メッセージサーバIPアドレスを設定します。

パラメータ:
mshost - 設定する接続先メッセージサーバIPアドレス

getR3name

public String getR3name()
SAPシステム名称を取得します。

戻り値:
r3name 設定したSAPシステム名称

setR3name

public void setR3name(String r3name)
SAPシステム名称を設定します。

パラメータ:
r3name - 設定するSAPシステム名称

getGroup

public String getGroup()
グループIDを取得します。

戻り値:
group 設定したグループID

setGroup

public void setGroup(String group)
グループIDを設定します。

パラメータ:
group - 設定するグループID

getDataDestinationName

protected String getDataDestinationName()
接続先名を取得します。

定義:
クラス SapClient 内の getDataDestinationName
戻り値:
接続先名

getDesiinationProperties

protected Properties getDesiinationProperties()
接続先情報プロパティを取得します。

定義:
クラス SapClient 内の getDesiinationProperties
戻り値:
接続先プロパティ

releaseConnection

protected void releaseConnection()
                          throws com.sap.conn.jco.JCoException
取得したJCOコネクションの開放を行います。

定義:
クラス SapClient 内の releaseConnection
例外:
com.sap.conn.jco.JCoException - JCO例外

getHost

public String getHost()
接続先IPアドレスを取得します。

定義:
クラス SapClient 内の getHost
戻り値:
host 接続先IPアドレス

toString

public String toString()
デバッグ用のメソッドです。

オーバーライド:
クラス SapClient 内の toString
戻り値:
value すべての属性の値

IM-ERP Real Connect

Copyright (c) 2013 NTT DATA INTRAMART CORPORATION.