jp.go.nict.langrid.client.impl.protobuf
クラス PbClientFactory
java.lang.Object
jp.go.nict.langrid.client.impl.protobuf.PbClientFactory
- すべての実装されたインタフェース:
- ClientFactory
public class PbClientFactory
- extends Object
- implements ClientFactory
|
メソッドの概要 |
|
create(Class<T> interfaceClass,
URL url)
createが返すオブジェクトは、RequestAttributesインタフェースとResponseAttributes
インタフェースを実装している必要がある。 |
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PbClientFactory
public PbClientFactory()
create
public <T> T create(Class<T> interfaceClass,
URL url)
- インタフェース
ClientFactory の記述:
- createが返すオブジェクトは、RequestAttributesインタフェースとResponseAttributes
インタフェースを実装している必要がある。
- 定義:
- インタフェース
ClientFactory 内の create
- パラメータ:
interfaceClass - サービスのインタフェースクラスurl - エンドポイントURL
- 戻り値:
- クライアント