org.jboss.metadata.ejb.parser.spec
Class AroundTimeoutMetaDataParser
java.lang.Object
org.jboss.metadata.parser.util.MetaDataElementParser
org.jboss.metadata.ejb.parser.spec.AbstractMetaDataParser<AroundTimeoutMetaData>
org.jboss.metadata.ejb.parser.spec.AroundTimeoutMetaDataParser
- All Implemented Interfaces:
- XMLStreamConstants
public class AroundTimeoutMetaDataParser
- extends AbstractMetaDataParser<AroundTimeoutMetaData>
Parses and creates metadata out of <around-timeout> element in ejb-jar.xml
Author: Jaikiran Pai
| Fields inherited from interface javax.xml.stream.XMLStreamConstants |
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT |
| Methods inherited from class org.jboss.metadata.parser.util.MetaDataElementParser |
attributeHasNamespace, duplicateNamedElement, equals, getElementText, getElementText, getElementText, getElementText, hashCode, missingRequired, missingRequiredElement, parseQName, readBooleanAttributeElement, readDTDLocation, readSchemaLocation, readStringAttributeElement, requireNoAttributes, requireNoContent, safeCopyMap, unexpectedAttribute, unexpectedElement, unexpectedValue |
INSTANCE
public static final AroundTimeoutMetaDataParser INSTANCE
AroundTimeoutMetaDataParser
public AroundTimeoutMetaDataParser()
parse
public AroundTimeoutMetaData parse(XMLStreamReader reader,
PropertyReplacer propertyReplacer)
throws XMLStreamException
- Parses and creates AroundInvokeMetaData out of the around-invoke element
- Specified by:
parse in class AbstractMetaDataParser<AroundTimeoutMetaData>
- Parameters:
reader -
- Returns:
-
- Throws:
XMLStreamException
processElement
protected void processElement(AroundTimeoutMetaData aroundTimeout,
XMLStreamReader reader,
PropertyReplacer propertyReplacer)
throws XMLStreamException
- Parses the child elements in the around-invoke element and updates the passed
AroundInvokeMetaData
accordingly.
- Overrides:
processElement in class AbstractMetaDataParser<AroundTimeoutMetaData>
- Parameters:
aroundTimeout - reader -
- Throws:
XMLStreamException
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.