public class ResourceAdapterParser extends CommonIronJacamarParser implements MetadataParser<ResourceAdapters>
Modifier and Type | Class and Description |
---|---|
static class |
ResourceAdapterParser.Tag
A Tag.
|
Constructor and Description |
---|
ResourceAdapterParser() |
Modifier and Type | Method and Description |
---|---|
ResourceAdapters |
parse(java.io.InputStream xmlInputStream)
Parse the xml file and return the JCAMetaData for which the concrete parser is designed.
|
ResourceAdapters |
parse(javax.xml.stream.XMLStreamReader reader)
Parse the xml file and return the JCAMetaData for which the concrete parser is designed.
|
parseAdminObjects, parseConnectionDefinitions
attributeAsBoolean, attributeAsInt, attributeAsString, elementAsBoolean, elementAsFlushStrategy, elementAsInteger, elementAsLong, elementAsString, parseCredential, parseExtension, parsePool, parseRecovery, parseSecuritySettings, parseXaPool
public ResourceAdapters parse(java.io.InputStream xmlInputStream) throws java.lang.Exception
MetadataParser
parse
in interface MetadataParser<ResourceAdapters>
xmlInputStream
- an InputStrema opened on the xml file to parsejava.lang.Exception
- Thrown if an error occurspublic ResourceAdapters parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception
MetadataParser
parse
in interface MetadataParser<ResourceAdapters>
reader
- an XMLStreamReader opened on the xml file to parsejava.lang.Exception
- Thrown if an error occursCopyright ? 2008 Red Hat Middleware LLC (http://www.jboss.com/)