org.jboss.metadata.ejb.parser.spec
Class SessionBean31MetaDataParser
java.lang.Object
org.jboss.metadata.parser.util.MetaDataElementParser
org.jboss.metadata.ejb.parser.spec.AbstractMetaDataParser<MD>
org.jboss.metadata.ejb.parser.spec.AbstractIdMetaDataParser<T>
org.jboss.metadata.ejb.parser.spec.SessionBeanMetaDataParser<AbstractGenericBeanMetaData>
org.jboss.metadata.ejb.parser.spec.SessionBean30MetaDataParser
org.jboss.metadata.ejb.parser.spec.SessionBean31MetaDataParser
- All Implemented Interfaces:
- XMLStreamConstants
public class SessionBean31MetaDataParser
- extends SessionBean30MetaDataParser
EJB3.1 version specific ejb-jar.xml parser
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 |
SessionBean31MetaDataParser
public SessionBean31MetaDataParser()
processElement
protected void processElement(AbstractGenericBeanMetaData sessionBean,
XMLStreamReader reader,
PropertyReplacer propertyReplacer)
throws XMLStreamException
- Parses EJB3.1 specific ejb-jar.xml elements and updates the passed
ejb metadata appropriately
- Overrides:
processElement in class SessionBean30MetaDataParser
- Parameters:
sessionBean - The metadat to be updated during parsingreader - The XMLStreamReader
- Throws:
XMLStreamException
createSessionBeanMetaData
protected AbstractGenericBeanMetaData createSessionBeanMetaData()
- Returns
SessionBean31MetaData
- Overrides:
createSessionBeanMetaData in class SessionBean30MetaDataParser
- Returns:
processSessionType
protected SessionType processSessionType(String sessionType)
- Returns the
SessionType corresponding to the passed sessionType string.
This method takes into account the Singleton session type introduced in EJB3.1 version
- Overrides:
processSessionType in class SessionBeanMetaDataParser<AbstractGenericBeanMetaData>
- Returns:
- See Also:
SessionBeanMetaDataParser.processSessionType(String)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.