SessionBean30MetaDataParserpublic abstract class SessionBeanMetaDataParser<T extends AbstractGenericBeanMetaData> extends AbstractIdMetaDataParser<T>
#processElement(org.jboss.metadata.ejb.spec.SessionBeanMetaData, javax.xml.stream.XMLStreamReader, PropertyReplacer)
method to parse the version specific ejb-jar.xml elements
User: Jaikiran PaiMetaDataElementParser.DTDInfo| Constructor | Description |
|---|---|
SessionBeanMetaDataParser() |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract T |
createSessionBeanMetaData() |
Create and return the correct version of
SessionBeanMetaData |
T |
parse(javax.xml.stream.XMLStreamReader reader,
PropertyReplacer propertyReplacer) |
Creates and returns
SessionBeanMetaData after parsing the session element. |
protected void |
processElement(T sessionBean,
javax.xml.stream.XMLStreamReader reader,
PropertyReplacer propertyReplacer) |
Parses common (version indepndent) ejb-jar.xml elements and updates the passed
ejb metadata appropriately |
protected SessionType |
processSessionType(java.lang.String sessionType) |
Returns the
SessionType corresponding to the passed sessionType string. |
processAttributeprocessElementsattributeHasNamespace, consumeElementContent, duplicateNamedElement, equals, getElementText, getElementText, getElementText, getElementText, hashCode, missingRequiredAttributes, missingRequiredElement, parseQName, readBooleanAttributeElement, readDTDLocation, readSchemaLocation, readStringAttributeElement, requireNoAttributes, requireNoContent, safeCopyMap, unexpectedAttribute, unexpectedElement, unexpectedValueprotected abstract T createSessionBeanMetaData()
SessionBeanMetaData
Individual ejb-jar version specific implementations of this class should
implement this method to return the appropriate version specific SessionBeanMetaDatapublic T parse(javax.xml.stream.XMLStreamReader reader, PropertyReplacer propertyReplacer) throws javax.xml.stream.XMLStreamException
SessionBeanMetaData after parsing the session element.parse in class AbstractMetaDataParser<T extends AbstractGenericBeanMetaData>reader - javax.xml.stream.XMLStreamExceptionprotected void processElement(T sessionBean, javax.xml.stream.XMLStreamReader reader, PropertyReplacer propertyReplacer) throws javax.xml.stream.XMLStreamException
ejb metadata appropriatelyprocessElement in class AbstractMetaDataParser<T extends AbstractGenericBeanMetaData>sessionBean - The session bean metadatareader - The XMLStreamReaderjavax.xml.stream.XMLStreamExceptionprotected SessionType processSessionType(java.lang.String sessionType)
SessionType corresponding to the passed sessionType string.
Returns null, if the passed sessionType isn't one of the allowed values for the
<session-type> element in ejb-jar.xmlsessionType - Copyright © 2018 JBoss by Red Hat. All rights reserved.