|
IM-ERP Real Connect | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.co.intra_mart.foundation.sap.common.auth.SapClient
public abstract class SapClient
SAPクライアント抽象クラス。
機能は以下の通り。
| 入れ子のクラスの概要 | |
|---|---|
protected static class |
SapClient.MyDestinationDataProvider
宛先データのプロバイダーに関する内部クラスです。 |
| フィールドの概要 | |
|---|---|
protected com.sap.conn.jco.JCoDestination |
connection
JCOコネクション |
| コンストラクタの概要 | |
|---|---|
protected |
SapClient(String serverType,
String client,
String user,
String passwd,
String lang)
引数にて受け取った接続情報を属性にセットします。 |
| メソッドの概要 | |
|---|---|
protected com.sap.conn.jco.JCoDestination |
createClient()
JCOコネクションの生成を行います。 |
boolean |
getAutoCommit()
現在の自動コミットの状態を取得します。 |
String |
getClient()
クライアントを取得します。 |
protected abstract String |
getDataDestinationName()
接続先名を取得します。 |
protected abstract Properties |
getDesiinationProperties()
接続先情報プロパティを取得します。 |
SapClient.MyDestinationDataProvider |
getDestinationDataProvider()
|
abstract String |
getHost()
接続先IPアドレスを取得する為の抽象メソッド |
String |
getIdentifier()
コネクションの識別子を取得します。 |
com.sap.conn.jco.JCoDestination |
getJCOClient()
JCOコネクションの取得を行います。 |
String |
getLang()
言語を取得します。 |
String |
getPasswd()
パスワードを取得します。 |
String |
getServerType()
設定されているサーバータイプを取得します。 |
String |
getUser()
ユーザーを取得します。 |
void |
release()
JCOコネクションの開放を行います。 |
protected abstract void |
releaseConnection()
JCOコネクションの開放をを行う為の抽象メソッドです。 |
void |
setAutoCommit(boolean autoCommit)
この接続の自動コミットモードを設定します。 |
void |
setClient(String client)
クライアントを設定します。 |
void |
setLang(String lang)
言語を設定します。 |
void |
setPasswd(String passwd)
パスワードを設定します。 |
void |
setUser(String user)
ユーザーを設定します。 |
String |
toString()
デバッグ用のメソッドです。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
|---|
protected com.sap.conn.jco.JCoDestination connection
| コンストラクタの詳細 |
|---|
protected SapClient(String serverType,
String client,
String user,
String passwd,
String lang)
serverType - サーバータイプclient - クライアントuser - ユーザーpasswd - パスワードlang - 言語| メソッドの詳細 |
|---|
protected com.sap.conn.jco.JCoDestination createClient()
throws com.sap.conn.jco.JCoException
com.sap.conn.jco.JCoException - JCO例外protected abstract String getDataDestinationName()
protected abstract Properties getDesiinationProperties()
protected abstract void releaseConnection()
throws com.sap.conn.jco.JCoException
com.sap.conn.jco.JCoException - JCO例外
public void release()
throws SAPAuthSystemException
SAPAuthSystemException - 認証系システム例外
public com.sap.conn.jco.JCoDestination getJCOClient()
throws SAPAuthSystemException
SAPAuthSystemException - 認証系システム例外public String getLang()
public void setLang(String lang)
lang - 設定する言語public String getPasswd()
public void setPasswd(String passwd)
passwd - 設定するパスワードpublic String getUser()
public void setUser(String user)
user - 設定するユーザーpublic String getClient()
public void setClient(String client)
client - 設定するクライアントpublic abstract String getHost()
public String getIdentifier()
public String getServerType()
public boolean getAutoCommit()
public void setAutoCommit(boolean autoCommit)
ConnectionManager意外から利用してはいけません。
autoCommit - 自動コミットの状態public SapClient.MyDestinationDataProvider getDestinationDataProvider()
public String toString()
Object 内の toString
|
IM-ERP Real Connect | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||