JavaTM Platform
Standard Ed. 6

javax.xml.soap
クラス SAAJMetaFactory

java.lang.Object
  上位を拡張 javax.xml.soap.SAAJMetaFactory

public abstract class SAAJMetaFactory
extends Object

SAAJ API で定義されたファクトリの実装クラスのアクセスポイントです。SAAJ 1.3 のファクトリで定義されたすべての newInstance メソッドは、このクラスのインスタンスに従い、実際のオブジェクトを作成します。SAAJ 1.2 に存在した newInstance() メソッド (SOAPFactory、MessageFactory) の実装は更新され、SAAJ 1.2 で定義されている検索が Factory 実装クラス名を検索できない場合、SAAJMetaFactory に委譲するようになりました。

SAAJMetaFactory はサービスプロバイダのインタフェースです。このクラスの public メソッドはありません。

導入されたバージョン:
SAAJ 1.3

コンストラクタの概要
protected SAAJMetaFactory()
           
 
メソッドの概要
protected abstract  MessageFactory newMessageFactory(String protocol)
          指定の String プロトコルの MessageFactory オブジェクトを作成します。
protected abstract  SOAPFactory newSOAPFactory(String protocol)
          指定の String プロトコルの SOAPFactory オブジェクトを作成します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SAAJMetaFactory

protected SAAJMetaFactory()
メソッドの詳細

newMessageFactory

protected abstract MessageFactory newMessageFactory(String protocol)
                                             throws SOAPException
指定の String プロトコルの MessageFactory オブジェクトを作成します。

パラメータ:
protocol - プロトコルを示す String
例外:
SOAPException - MessageFactory 作成時に エラーが発生した場合
関連項目:
SOAPConstants.SOAP_1_1_PROTOCOL, SOAPConstants.SOAP_1_2_PROTOCOL, SOAPConstants.DYNAMIC_SOAP_PROTOCOL

newSOAPFactory

protected abstract SOAPFactory newSOAPFactory(String protocol)
                                       throws SOAPException
指定の String プロトコルの SOAPFactory オブジェクトを作成します。

パラメータ:
protocol - プロトコルを示す String
例外:
SOAPException - SOAPFactory 作成時に エラーが発生した場合
関連項目:
SOAPConstants.SOAP_1_1_PROTOCOL, SOAPConstants.SOAP_1_2_PROTOCOL, SOAPConstants.DYNAMIC_SOAP_PROTOCOL

JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。