Class ResourceAdapterParser
- java.lang.Object
-
- org.jboss.jca.common.metadata.common.AbstractParser
-
- org.jboss.jca.common.metadata.common.CommonIronJacamarParser
-
- org.jboss.jca.common.metadata.resourceadapter.ResourceAdapterParser
-
- All Implemented Interfaces:
MetadataParser<Activations>
public class ResourceAdapterParser extends CommonIronJacamarParser implements MetadataParser<Activations>
A ResourceAdapterParserr.- Author:
- Jesper Pedersen
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourceAdapterParser.TagA Tag.
-
Field Summary
-
Fields inherited from class org.jboss.jca.common.metadata.common.AbstractParser
log
-
-
Constructor Summary
Constructors Constructor Description ResourceAdapterParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Activationsparse(InputStream xmlInputStream)Parse the xml file and return the JCAMetaData for which the concrete parser is designed.Activationsparse(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.common.CommonIronJacamarParser
parseAdminObjects, parseConnectionDefinitions, parseWorkManager, parseWorkManagerSecurity
-
Methods inherited from class org.jboss.jca.common.metadata.common.AbstractParser
attributeAsBoolean, attributeAsInt, attributeAsString, elementAsBoolean, elementAsFlushStrategy, elementAsInteger, elementAsLong, elementAsString, isSystemPropertiesResolved, parseCapacity, parseConfigProperty, parseCredential, parseExtension, parsePool, parseRecovery, parseSecuritySettings, parseTimeOut, parseValidation, parseXaPool, setSystemPropertiesResolved
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.jca.common.metadata.MetadataParser
isSystemPropertiesResolved, setSystemPropertiesResolved
-
-
-
-
Method Detail
-
parse
public Activations parse(InputStream xmlInputStream) throws Exception
Description copied from interface:MetadataParserParse 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:
parsein interfaceMetadataParser<Activations>- Parameters:
xmlInputStream- an InputStrema opened on the xml file to parse- Returns:
- The metadata
- Throws:
Exception- Thrown if an error occurs
-
parse
public Activations parse(XMLStreamReader reader) throws Exception
Description copied from interface:MetadataParserParse 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:
parsein interfaceMetadataParser<Activations>- Parameters:
reader- an XMLStreamReader opened on the xml file to parse- Returns:
- The metadata
- Throws:
Exception- Thrown if an error occurs
-
-