jp.go.nict.langrid.client.ws_1_2.impl
クラス ServiceClientImpl

java.lang.Object
  上位を拡張 jp.go.nict.langrid.client.ws_1_2.impl.ServiceClientImpl
すべての実装されたインタフェース:
Serializable, ServiceClient
直系の既知のサブクラス:
AdjacencyPairClientImpl, BackTranslationClientImpl, BackTranslationWithTemporalDictionaryClientImpl, BilingualDictionaryClientImpl, ConceptDictionaryClientImpl, DependencyParserClientImpl, DictionaryClientImpl, LanguageIdentificationClientImpl, MetadataForParallelTextClientImpl, MorphologicalAnalysisClientImpl, MultihopTranslationClientImpl, ParallelTextClientImpl, ParallelTextWithEmbeddedMetadataClientImpl, ParallelTextWithExternalMetadataClientImpl, ParaphraseClientImpl, PictogramDictionaryClientImpl, QualityEstimationClientImpl, SimilarityCalculationClientImpl, SpeechRecognitionClientImpl, TemplateParallelTextClientImpl, TextToSpeechClientImpl, TranslationClientImpl, TranslationSelectionClientImpl, TranslationWithTemporalDictionaryClientImpl

public abstract class ServiceClientImpl
extends Object
implements ServiceClient, Serializable

サービスの実装クラスの基底クラス。

バージョン:
$Revision: 12165 $
作成者:
$Author: Takao Nakaguchi $
関連項目:
直列化された形式

コンストラクタの概要
ServiceClientImpl(URL url)
          コンストラクタ。
 
メソッドの概要
protected
<T> T
convert(Object source, Class<T> targetClass)
           
protected abstract  org.apache.axis.client.Stub createStub(URL url)
           
 Map<String,String> getHttpHeaders()
          HTTPヘッダ情報を取得する。
 Collection<CallNode> getLastCallTree()
          最後に呼び出されたサービスのコールツリーを返す。
 String getLastCopyrightInfo()
          最後に呼び出されたサービスの著作権情報を返す。
 String getLastLicenseInfo()
          最後に呼び出されたサービスのライセンス情報を返す。
 String getLastName()
          最後に呼び出されたサービスのサービス名を返す。
 Collection<BindingNode> getTreeBindings()
          サービスの階層型バインディング情報を取得する。
protected  Object invoke(Object... arguments)
          サービスを呼び出す。
 void setPassword(String password)
          Basic認証のパスワードを設定する。
protected  void setUpService(org.apache.axis.client.Service service)
           
 void setUserId(String userId)
          Basic認証のユーザ名を設定する。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ServiceClientImpl

public ServiceClientImpl(URL url)
コンストラクタ。

パラメータ:
url - 呼び出しURL
メソッドの詳細

setUserId

public void setUserId(String userId)
インタフェース ServiceClient の記述:
Basic認証のユーザ名を設定する。

定義:
インタフェース ServiceClient 内の setUserId
パラメータ:
userId - ユーザ名

setPassword

public void setPassword(String password)
インタフェース ServiceClient の記述:
Basic認証のパスワードを設定する。

定義:
インタフェース ServiceClient 内の setPassword
パラメータ:
password - パスワード

getTreeBindings

public Collection<BindingNode> getTreeBindings()
インタフェース ServiceClient の記述:
サービスの階層型バインディング情報を取得する。

定義:
インタフェース ServiceClient 内の getTreeBindings
戻り値:
階層型バインディング情報

getHttpHeaders

public Map<String,String> getHttpHeaders()
インタフェース ServiceClient の記述:
HTTPヘッダ情報を取得する。

定義:
インタフェース ServiceClient 内の getHttpHeaders
戻り値:
HTTPヘッダ情報

getLastName

public String getLastName()
インタフェース ServiceClient の記述:
最後に呼び出されたサービスのサービス名を返す。

定義:
インタフェース ServiceClient 内の getLastName
戻り値:
サービス名

getLastCopyrightInfo

public String getLastCopyrightInfo()
インタフェース ServiceClient の記述:
最後に呼び出されたサービスの著作権情報を返す。

定義:
インタフェース ServiceClient 内の getLastCopyrightInfo
戻り値:
著作権情報

getLastLicenseInfo

public String getLastLicenseInfo()
インタフェース ServiceClient の記述:
最後に呼び出されたサービスのライセンス情報を返す。

定義:
インタフェース ServiceClient 内の getLastLicenseInfo
戻り値:
ライセンス情報

getLastCallTree

public Collection<CallNode> getLastCallTree()
インタフェース ServiceClient の記述:
最後に呼び出されたサービスのコールツリーを返す。

定義:
インタフェース ServiceClient 内の getLastCallTree
戻り値:
コールツリー

invoke

protected Object invoke(Object... arguments)
                 throws LangridException
サービスを呼び出す。

パラメータ:
arguments - パラメータ
戻り値:
処理結果
例外:
LangridException - 呼び出しに失敗した

createStub

protected abstract org.apache.axis.client.Stub createStub(URL url)
                                                   throws javax.xml.rpc.ServiceException
例外:
javax.xml.rpc.ServiceException

convert

protected <T> T convert(Object source,
                        Class<T> targetClass)

setUpService

protected void setUpService(org.apache.axis.client.Service service)