public abstract class SAAJMetaFactory extends Object
newInstanceメソッドは、このクラスのインスタンスに従い、実際のオブジェクトを作成します。 SAAJ 1.2に存在したnewInstance()メソッド(SOAPFactory、MessageFactory内)の実装は更新され、SAAJ 1.2で定義されている検索がFactory実装クラス名を検索できないときに、SAAJMetaFactoryに委譲するようになりました。
SAAJMetaFactoryはサービス・プロバイダのインタフェースです。 このクラスのpublicメソッドはありません。
| 修飾子 | コンストラクタ | 説明 |
|---|---|---|
protected |
SAAJMetaFactory() |
| 修飾子と型 | メソッド | 説明 |
|---|---|---|
protected abstract MessageFactory |
newMessageFactory(String protocol) |
指定された
StringプロトコルのためのMessageFactoryオブジェクトを生成します。 |
protected abstract SOAPFactory |
newSOAPFactory(String protocol) |
指定された
StringプロトコルのためのSOAPFactoryオブジェクトを生成します。 |
protected abstract MessageFactory newMessageFactory(String protocol) throws SOAPException
StringプロトコルのためのMessageFactoryオブジェクトを生成します。protocol - プロトコルを示すStringSOAPException - MessageFactoryの作成でエラーが発生した場合SOAPConstants.SOAP_1_1_PROTOCOL, SOAPConstants.SOAP_1_2_PROTOCOL, SOAPConstants.DYNAMIC_SOAP_PROTOCOLprotected abstract SOAPFactory newSOAPFactory(String protocol) throws SOAPException
StringプロトコルのためのSOAPFactoryオブジェクトを生成します。protocol - プロトコルを示すStringSOAPException - SOAPFactoryの作成でエラーが発生した場合SOAPConstants.SOAP_1_1_PROTOCOL, SOAPConstants.SOAP_1_2_PROTOCOL, SOAPConstants.DYNAMIC_SOAP_PROTOCOL バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。