Class DsXmlParser
java.lang.Object
org.jboss.jca.common.metadata.common.AbstractParser
org.jboss.jca.common.metadata.ds.DsParser
org.jboss.as.connector.deployers.ds.DsXmlParser
- All Implemented Interfaces:
org.jboss.jca.common.metadata.MetadataParser<org.jboss.jca.common.api.metadata.ds.DataSources>
public class DsXmlParser
extends org.jboss.jca.common.metadata.ds.DsParser
Parser for -ds.xml
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.jca.common.metadata.ds.DsParser
org.jboss.jca.common.metadata.ds.DsParser.Tag -
Field Summary
Fields inherited from class org.jboss.jca.common.metadata.common.AbstractParser
bundle, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CredentialparseCredential(XMLStreamReader reader) parse credential tagprotected DsSecurityparseDsSecurity(XMLStreamReader reader) Parse securityMethods inherited from class org.jboss.jca.common.metadata.ds.DsParser
parse, parse, parseDataSource, parseDataSources, parseDriver, parsePool, parseStatementSettings, parseTimeOutSettings, parseValidationSetting, parseXADataSource, parseXaPoolMethods inherited from class org.jboss.jca.common.metadata.common.AbstractParser
attributeAsBoolean, attributeAsInt, attributeAsString, elementAsBoolean, elementAsFlushStrategy, elementAsInteger, elementAsLong, elementAsString, isSystemPropertiesResolved, parseCapacity, parseConfigProperty, parseExtension, parseRecovery, parseSecuritySettings, parseTimeOut, parseValidation, setSystemPropertiesResolvedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.jca.common.metadata.MetadataParser
isSystemPropertiesResolved, setSystemPropertiesResolved
-
Constructor Details
-
DsXmlParser
public DsXmlParser(org.jboss.metadata.property.PropertyReplacer propertyReplacer)
-
-
Method Details
-
parseDsSecurity
protected DsSecurity parseDsSecurity(XMLStreamReader reader) throws XMLStreamException, org.jboss.jca.common.metadata.ParserException, org.jboss.jca.common.api.validator.ValidateException Parse security- Overrides:
parseDsSecurityin classorg.jboss.jca.common.metadata.ds.DsParser- Parameters:
reader- The reader- Returns:
- The result
- Throws:
XMLStreamException- XMLStreamExceptionorg.jboss.jca.common.metadata.ParserException- ParserExceptionorg.jboss.jca.common.api.validator.ValidateException- ValidateException
-
parseCredential
protected Credential parseCredential(XMLStreamReader reader) throws XMLStreamException, org.jboss.jca.common.metadata.ParserException, org.jboss.jca.common.api.validator.ValidateException parse credential tag- Overrides:
parseCredentialin classorg.jboss.jca.common.metadata.common.AbstractParser- Parameters:
reader- reader- Returns:
- the parse Object
- Throws:
XMLStreamException- in case of errororg.jboss.jca.common.metadata.ParserException- in case of errororg.jboss.jca.common.api.validator.ValidateException- in case of error
-