org.springframework.ejb.config
Class AbstractJndiLocatingBeanDefinitionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSimpleBeanDefinitionParser
org.springframework.ejb.config.AbstractJndiLocatingBeanDefinitionParser
- All Implemented Interfaces:
- BeanDefinitionParser
- Direct Known Subclasses:
- JndiLookupBeanDefinitionParser, LocalStatelessSessionBeanDefinitionParser, RemoteStatelessSessionBeanDefinitionParser
abstract class AbstractJndiLocatingBeanDefinitionParser
- extends AbstractSimpleBeanDefinitionParser
Abstract base class for BeanDefinitionParsers which build
JNDI-locating beans, supporting an optional "jndiEnvironment"
bean property, populated from an "environment" XML sub-element.
- Since:
- 2.0
- Author:
- Rob Harrop, Juergen Hoeller, Oliver Gierke
Method Summary |
protected boolean |
isEligibleAttribute(java.lang.String attributeName)
Determine whether the given attribute is eligible for being
turned into a corresponding bean property value. |
protected void |
postProcess(BeanDefinitionBuilder definitionBuilder,
org.w3c.dom.Element element)
Hook method that derived classes can implement to inspect/change a
bean definition after parsing is complete. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENVIRONMENT
public static final java.lang.String ENVIRONMENT
- See Also:
- Constant Field Values
ENVIRONMENT_REF
public static final java.lang.String ENVIRONMENT_REF
- See Also:
- Constant Field Values
JNDI_ENVIRONMENT
public static final java.lang.String JNDI_ENVIRONMENT
- See Also:
- Constant Field Values
AbstractJndiLocatingBeanDefinitionParser
AbstractJndiLocatingBeanDefinitionParser()
isEligibleAttribute
protected boolean isEligibleAttribute(java.lang.String attributeName)
- Description copied from class:
AbstractSimpleBeanDefinitionParser
- 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.
- Overrides:
isEligibleAttribute
in class AbstractSimpleBeanDefinitionParser
- Parameters:
attributeName
- the attribute name taken straight from the
XML element being parsed (never null
)
postProcess
protected void postProcess(BeanDefinitionBuilder definitionBuilder,
org.w3c.dom.Element element)
- Description copied from class:
AbstractSimpleBeanDefinitionParser
- Hook method that derived classes can implement to inspect/change a
bean definition after parsing is complete.
The default implementation does nothing.
- Overrides:
postProcess
in class AbstractSimpleBeanDefinitionParser
- Parameters:
definitionBuilder
- the parsed (and probably totally defined) bean definition being builtelement
- the XML element that was the source of the bean definition's metadata