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

pack-priv abstract Class AbstractJndiLocatingBeanDefinitionParser

extends AbstractSimpleBeanDefinitionParser
Class Inheritance
Known Direct Subclasses
org.springframework.ejb.config.JndiLookupBeanDefinitionParser, org.springframework.ejb.config.LocalStatelessSessionBeanDefinitionParser, org.springframework.ejb.config.RemoteStatelessSessionBeanDefinitionParser
Imports
org.w3c.dom.Element, org.springframework.beans.factory.config.RuntimeBeanReference, org.springframework.beans.factory.support.BeanDefinitionBuilder, org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser, org.springframework.util.StringUtils, org.springframework.util.xml.DomUtils

Abstract base class for BeanDefinitionParsers which build JNDI-locating beans, supporting an optional "jndiEnvironment" bean property, populated from an "environment" XML sub-element.
Authors
Rob Harrop, Juergen Hoeller, Oliver Gierke
Since
2.0

Field Summary

Modifier and TypeField and Description
public static final String
public static final String
public static final String

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected boolean
isEligibleAttribute(String
the attribute name taken straight from the XML element being parsed (never null)
attributeName
)

Overrides org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser.isEligibleAttribute.

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

protected void
postProcess(BeanDefinitionBuilder
the parsed (and probably totally defined) bean definition being built
definitionBuilder
,
Element
the XML element that was the source of the bean definition's metadata
element
)

Overrides org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser.postProcess.

Hook method that derived classes can implement to inspect/change a bean definition after parsing is complete.

Inherited from org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser:
doParseextractPropertyNameisEligibleAttribute

Field Detail

ENVIRONMENTback to summary
public static final String ENVIRONMENT
ENVIRONMENT_REFback to summary
public static final String ENVIRONMENT_REF
JNDI_ENVIRONMENTback to summary
public static final String JNDI_ENVIRONMENT

Constructor Detail

AbstractJndiLocatingBeanDefinitionParserback to summary
pack-priv AbstractJndiLocatingBeanDefinitionParser()

Method Detail

isEligibleAttributeback to summary
protected boolean isEligibleAttribute(String attributeName)

Overrides org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser.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
postProcessback to summary
protected void postProcess(BeanDefinitionBuilder definitionBuilder, Element element)

Overrides org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser.postProcess.

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

Hook method that derived classes can implement to inspect/change a bean definition after parsing is complete.

The default implementation does nothing.

Parameters
definitionBuilder:BeanDefinitionBuilder

the parsed (and probably totally defined) bean definition being built

element:Element

the XML element that was the source of the bean definition's metadata

Annotations
@Override