Service Registry 3.1 開発ガイド

接続ファクトリの取得

クライアントは、接続ファクトリから接続を作成します。abstract クラス ConnectionFactory のインスタンスを取得するには、クライアントは JAXR プロバイダの JAXRUtility クラスの getConnectionFactory メソッドを呼び出します。

import org.freebxml.omar.client.xml.registry.util.JAXRUtility;
...
ConnectionFactory factory = JAXRUtility.getConnectionFactory();