public class SessionBean31MetaDataParser extends SessionBean30MetaDataParser
MetaDataElementParser.DTDInfo
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
SessionBean31MetaDataParser() |
Modifier and Type | Method and Description |
---|---|
protected AbstractGenericBeanMetaData |
createSessionBeanMetaData()
Returns
SessionBean31MetaData |
protected void |
processElement(AbstractGenericBeanMetaData sessionBean,
XMLStreamReader reader,
PropertyReplacer propertyReplacer)
Parses EJB3.1 specific ejb-jar.xml elements and updates the passed
ejb metadata appropriately |
protected SessionType |
processSessionType(String sessionType)
Returns the
SessionType corresponding to the passed sessionType string. |
parse
processAttribute
processElements
attributeHasNamespace, duplicateNamedElement, equals, getElementText, getElementText, getElementText, getElementText, hashCode, missingRequired, missingRequiredElement, parseQName, readBooleanAttributeElement, readDTDLocation, readSchemaLocation, readStringAttributeElement, requireNoAttributes, requireNoContent, safeCopyMap, unexpectedAttribute, unexpectedElement, unexpectedValue
protected void processElement(AbstractGenericBeanMetaData sessionBean, XMLStreamReader reader, PropertyReplacer propertyReplacer) throws XMLStreamException
ejb metadata
appropriatelyprocessElement
in class SessionBean30MetaDataParser
sessionBean
- The metadat to be updated during parsingreader
- The XMLStreamReaderXMLStreamException
protected AbstractGenericBeanMetaData createSessionBeanMetaData()
SessionBean31MetaData
createSessionBeanMetaData
in class SessionBean30MetaDataParser
protected SessionType processSessionType(String sessionType)
SessionType
corresponding to the passed sessionType
string.
This method takes into account the Singleton session type introduced in EJB3.1 versionprocessSessionType
in class SessionBeanMetaDataParser<AbstractGenericBeanMetaData>
SessionBeanMetaDataParser.processSessionType(String)
Copyright © 2013 JBoss by Red Hat. All rights reserved.