org.jboss.jca.common.metadata.resourceadapter.v10
Class ResourceAdapterParser
java.lang.Object
org.jboss.jca.common.metadata.AbstractParser
org.jboss.jca.common.metadata.common.v10.CommonIronJacamarParser
org.jboss.jca.common.metadata.resourceadapter.v10.ResourceAdapterParser
- All Implemented Interfaces:
- MetadataParser<org.jboss.jca.common.api.metadata.resourceadapter.ResourceAdapters>
public class ResourceAdapterParser
- extends CommonIronJacamarParser
- implements MetadataParser<org.jboss.jca.common.api.metadata.resourceadapter.ResourceAdapters>
A ResourceAdapterParserr.
- Author:
- Stefano Maestri
|
Method Summary |
org.jboss.jca.common.api.metadata.resourceadapter.ResourceAdapters |
parse(InputStream xmlInputStream)
Parse the xml file and return the JCAMetaData for which the concrete parser is designed. |
org.jboss.jca.common.api.metadata.resourceadapter.ResourceAdapters |
parse(XMLStreamReader reader)
Parse the xml file and return the JCAMetaData for which the concrete parser is designed. |
| Methods inherited from class org.jboss.jca.common.metadata.AbstractParser |
attributeAsBoolean, attributeAsInt, attributeAsString, elementAsBoolean, elementAsFlushStrategy, elementAsInteger, elementAsLong, elementAsString, isSystemPropertiesResolved, parseConfigProperty, parseCredential, parseExtension, parsePool, parseRecovery, parseSecuritySettings, parseXaPool, setSystemPropertiesResolved |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceAdapterParser
public ResourceAdapterParser()
parse
public org.jboss.jca.common.api.metadata.resourceadapter.ResourceAdapters parse(InputStream xmlInputStream)
throws Exception
- Description copied from interface:
MetadataParser
- Parse the xml file and return the JCAMetaData for which the concrete parser is designed.
Note that is responsibility of the client to open and close the stream
- Specified by:
parse in interface MetadataParser<org.jboss.jca.common.api.metadata.resourceadapter.ResourceAdapters>
- Parameters:
xmlInputStream - an InputStrema opened on the xml file to parse
- Returns:
- The metadata
- Throws:
Exception - Thrown if an error occurs
parse
public org.jboss.jca.common.api.metadata.resourceadapter.ResourceAdapters parse(XMLStreamReader reader)
throws Exception
- Description copied from interface:
MetadataParser
- Parse the xml file and return the JCAMetaData for which the concrete parser is designed.
Note that is responsibility of the client to open and close the stream
- Specified by:
parse in interface MetadataParser<org.jboss.jca.common.api.metadata.resourceadapter.ResourceAdapters>
- Parameters:
reader - an XMLStreamReader opened on the xml file to parse
- Returns:
- The metadata
- Throws:
Exception - Thrown if an error occurs
Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)