org.springframework.beans.factory.xml.BeanDefinitionParser implementation that
translates jndi-lookup tag into JndiObjectFactoryBean definitions.
JndiObjectFactoryBean
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | doParse(Element
the XML element being parsed element, ParserContext the object encapsulating the current state of the parsing process parserContext, BeanDefinitionBuilder used to define the builder)BeanDefinitionOverrides org. Parse the supplied |
| protected Class | getBeanClass(Element
the element)Element that is being parsedOverrides org. Determine the bean class corresponding to the supplied |
| protected boolean | isEligibleAttribute(String
the attribute name taken straight from the
XML element being parsed (never attributeName)null)Overrides org. Determine whether the given attribute is eligible for being turned into a corresponding bean property value. |
| DEFAULT_OBJECT | back to summary |
|---|---|
| public static final String DEFAULT_OBJECT | |
| DEFAULT_REF | back to summary |
|---|---|
| public static final String DEFAULT_REF | |
| DEFAULT_VALUE | back to summary |
|---|---|
| public static final String DEFAULT_VALUE | |
| JndiLookupBeanDefinitionParser | back to summary |
|---|---|
| pack-priv JndiLookupBeanDefinitionParser() | |
| doParse | back to summary |
|---|---|
| protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) Overrides org. Doc from org. Parse the supplied This implementation maps any attributes present on the
supplied element to The
| |
| getBeanClass | back to summary |
|---|---|
| protected Class Overrides org. Doc from org. Determine the bean class corresponding to the supplied Note that, for application classes, it is generally preferable to
override | |
| isEligibleAttribute | back to summary |
|---|---|
| protected boolean isEligibleAttribute(String attributeName) Overrides org. Doc from org. 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. | |