org.jboss.metadata.ejb.parser.spec
Class AbstractMessageDrivenBeanParser<MD extends AbstractGenericBeanMetaData>
java.lang.Object
org.jboss.metadata.parser.util.MetaDataElementParser
org.jboss.metadata.ejb.parser.spec.AbstractMetaDataParser<MD>
org.jboss.metadata.ejb.parser.spec.AbstractNamedMetaDataWithDescriptionGroupParser<MD>
org.jboss.metadata.ejb.parser.spec.AbstractEnterpriseBeanMetaDataParser<MD>
org.jboss.metadata.ejb.parser.spec.AbstractMessageDrivenBeanParser<MD>
- All Implemented Interfaces:
- XMLStreamConstants
- Direct Known Subclasses:
- MessageDrivenBean20Parser, MessageDrivenBean31Parser
public abstract class AbstractMessageDrivenBeanParser<MD extends AbstractGenericBeanMetaData>
- extends AbstractEnterpriseBeanMetaDataParser<MD>
- Author:
- Carlo de Wolf
| 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 |
AbstractMessageDrivenBeanParser
public AbstractMessageDrivenBeanParser()
createMessageDrivenBeanMetaData
protected abstract MD createMessageDrivenBeanMetaData()
- Create and return the correct version of
MessageDrivenBeanMetaData
Individual ejb-jar version specific implementations of this class should
implement this method to return the appropriate version specific MessageDrivenBeanMetaData
- Returns:
parse
public MD parse(XMLStreamReader reader,
PropertyReplacer propertyReplacer)
throws XMLStreamException
- Creates and returns
MessageDrivenBeanMetaData after parsing the session element.
- Specified by:
parse in class AbstractMetaDataParser<MD extends AbstractGenericBeanMetaData>
- Parameters:
reader -
- Returns:
-
- Throws:
XMLStreamException
processElement
protected void processElement(MD bean,
XMLStreamReader reader,
PropertyReplacer propertyReplacer)
throws XMLStreamException
- Description copied from class:
AbstractMetaDataParser
- Process the single element. If it could not be processed, delegate to the super class.
- Overrides:
processElement in class AbstractEnterpriseBeanMetaDataParser<MD extends AbstractGenericBeanMetaData>
- Throws:
XMLStreamException
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.