Top Description Fields Constructors Methods
org.springframework.ejb.config

pack-priv Class RemoteStatelessSessionBeanDefinitionParser

extends AbstractJndiLocatingBeanDefinitionParser
Class Inheritance
Imports
org.w3c.dom.Element, org.springframework.beans.BeanUtils, org.springframework.jndi.JndiObjectFactoryBean

org.springframework.beans.factory.xml.BeanDefinitionParser implementation for parsing 'remote-slsb' tags and creating plain JndiObjectFactoryBean definitions as of 6.0.
Authors
Rob Harrop, Juergen Hoeller
Since
2.0

Field Summary

Inherited from org.springframework.ejb.config.AbstractJndiLocatingBeanDefinitionParser:
ENVIRONMENTENVIRONMENT_REFJNDI_ENVIRONMENT

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected Class<?>
getBeanClass(Element
the Element that is being parsed
element
)

Overrides org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.getBeanClass.

Determine the bean class corresponding to the supplied Element.
protected boolean
isEligibleAttribute(String
the attribute name taken straight from the XML element being parsed (never null)
attributeName
)

Overrides org.springframework.ejb.config.AbstractJndiLocatingBeanDefinitionParser.isEligibleAttribute.

Determine whether the given attribute is eligible for being turned into a corresponding bean property value.
Inherited from org.springframework.ejb.config.AbstractJndiLocatingBeanDefinitionParser:
postProcess

Constructor Detail

RemoteStatelessSessionBeanDefinitionParserback to summary
pack-priv RemoteStatelessSessionBeanDefinitionParser()

Method Detail

getBeanClassback to summary
protected Class<?> getBeanClass(Element element)

Overrides org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.getBeanClass.

Doc from org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.getBeanClass.

Determine the bean class corresponding to the supplied Element.

Note that, for application classes, it is generally preferable to override getBeanClassName instead, in order to avoid a direct dependence on the bean implementation class. The BeanDefinitionParser and its NamespaceHandler can be used within an IDE plugin then, even if the application classes are not available on the plugin's classpath.

Parameters
element:Element

the Element that is being parsed

Returns:Class<?>

the Class of the bean that is being defined via parsing the supplied Element, or null if none

Annotations
@Override
isEligibleAttributeback to summary
protected boolean isEligibleAttribute(String attributeName)

Overrides org.springframework.ejb.config.AbstractJndiLocatingBeanDefinitionParser.isEligibleAttribute.

Doc from org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser.isEligibleAttribute.

Determine whether the given attribute is eligible for being turned into a corresponding bean property value.

The default implementation considers any attribute as eligible, except for the "id" attribute.

Parameters
attributeName:String

the attribute name taken straight from the XML element being parsed (never null)

Annotations
@Override