public interface DeployableObject
修飾子と型 | メソッドと説明 |
---|---|
EnumerationSE | entries() モジュールファイルエントリの列挙を返します。 |
DDBean[] | getChildBean(StringSE xpath) XPath に基づいて返される XML コンテンツを表す標準 Bean の配列を返します。 |
ClassSE | getClassFromScope(StringSE className) このデプロイ可能なモジュールから指定されたクラスを取得します。 |
DDBeanRoot | getDDBeanRoot() デプロイ記述子のルートを表す最上位の標準 Bean を返します。 |
DDBeanRoot | getDDBeanRoot(StringSE filename) 指定された XML インスタンスドキュメントの DDBeanRoot オブジェクトを返します。 |
InputStreamSE | getEntry(StringSE name) 指定されたエントリ名の InputStream を返します。ファイル名は、モジュールのルートからの相対パスである必要があります。 |
StringSE | getModuleDTDVersion() 使用すべきではありません。 バージョン 1.1 以降、DDBeanRoot.getDDBeanRootVersion() に置き換えられました |
StringSE[] | getText(StringSE xpath) XPath に関連付けられた XML コンテンツをデプロイ記述子から返します。 |
ModuleType | getType() このデプロイ可能なオブジェクトが表すデプロイ記述子(つまり、EAR、JAR、WAR、RAR)の ModuleType を返します。 |
ModuleType getType()
DDBeanRoot getDDBeanRoot()
DDBean[] getChildBean(StringSE xpath)
xpath
- デプロイ記述子から抽出されるデータを識別する XPath 文字列。StringSE[] getText(StringSE xpath)
xpath
- デプロイ記述子内の場所を参照する xpath 文字列 ClassSE getClassFromScope(StringSE className)
ワンユース: EJB からすべてのファインダーメソッドを取得するツールがモジュールをパッケージ化し、パッケージからクラスを取得しようとすると、クラスリクエストが失敗する場合があります。クラスはまだ利用できない場合があります。ツールは、マニフェストクロスパスエントリを考慮する必要があります。
className
- 取得するクラス。StringSE getModuleDTDVersion()
A module's deployment descriptor file always contains a document type identifier, DOCTYPE. The DOCTYPE statement contains the module DTD version number in the label of the statement. The format of the DOCTYPE statement is:
DDBeanRoot getDDBeanRoot(StringSE filename) throws FileNotFoundExceptionSE, DDBeanCreateException
java.io.FileNotFoundException,
- 指定されたファイルが見つからない場合 DDBeanCreateException
- DDBeanRoot オブジェクトの作成中にエラーが発生した場合。FileNotFoundExceptionSE
EnumerationSE entries()
InputStreamSE getEntry(StringSE name)
name
- モジュールのルートに関連するファイル名。Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.