| java.lang.Object org.springframework.beans.factory.xml.BeanDefinitionParserDelegate
Method Summary | |
public BeanDefinitionHolder | decorateBeanDefinitionIfRequired(Element ele, BeanDefinitionHolder definitionHolder) | protected void | error(String message, Element source) Report an error with the given message for the given source element. | protected void | error(String message, Element source, Throwable cause) Report an error with the given message for the given source element. | protected Object | extractSource(Element ele) Invoke the
org.springframework.beans.factory.parsing.SourceExtractor to pull the
source metadata from the supplied
Element . | public int | getAutowireMode(String att) | public DocumentDefaultsDefinition | getDefaults() Return the defaults definition object, or null if the
defaults have been initialized yet. | public int | getDependencyCheck(String att) | final public XmlReaderContext | getReaderContext() Get the
XmlReaderContext associated with this helper instance. | public void | initDefaults(Element root) Initialize the default lazy-init, autowire, dependency check settings,
init-method, destroy-method and merge settings. | public boolean | isDefaultNamespace(String namespaceUri) | public BeanDefinitionHolder | parseBeanDefinitionElement(Element ele) Parses the supplied <bean> element. | public BeanDefinitionHolder | parseBeanDefinitionElement(Element ele, BeanDefinition containingBean) Parses the supplied <bean> element. | public AbstractBeanDefinition | parseBeanDefinitionElement(Element ele, String beanName, BeanDefinition containingBean) Parse the bean definition itself, without regard to name or aliases. | public void | parseConstructorArgElement(Element ele, BeanDefinition bd) Parse a constructor-arg element. | public void | parseConstructorArgElements(Element beanEle, BeanDefinition bd) Parse constructor-arg sub-elements of the given bean element. | public BeanDefinition | parseCustomElement(Element ele) | public BeanDefinition | parseCustomElement(Element ele, BeanDefinition containingBd) | public Object | parseKeyElement(Element keyEle, BeanDefinition bd, String defaultKeyTypeClassName) Parse a key sub-element of a map element. | public List | parseListElement(Element collectionEle, BeanDefinition bd) Parse a list element. | public void | parseLookupOverrideSubElements(Element beanEle, MethodOverrides overrides) Parse lookup-override sub-elements of the given bean element. | public Map | parseMapElement(Element mapEle, BeanDefinition bd) Parse a map element. | public boolean | parseMergeAttribute(Element collectionElement) Parse the merge attribute of a collection element, if any. | public void | parseMetaElements(Element ele, AttributeAccessor attributeAccessor) | public void | parsePropertyElement(Element ele, BeanDefinition bd) Parse a property element. | public void | parsePropertyElements(Element beanEle, BeanDefinition bd) Parse property sub-elements of the given bean element. | public Object | parsePropertySubElement(Element ele, BeanDefinition bd) | public Object | parsePropertySubElement(Element ele, BeanDefinition bd, String defaultTypeClassName) Parse a value, ref or collection sub-element of a property or
constructor-arg element. | public Object | parsePropertyValue(Element ele, BeanDefinition bd, String propertyName) Get the value of a property element. | public Properties | parsePropsElement(Element propsEle) Parse a props element. | public void | parseReplacedMethodSubElements(Element beanEle, MethodOverrides overrides) Parse replaced-method sub-elements of the given bean element. | public Set | parseSetElement(Element collectionEle, BeanDefinition bd) Parse a set element. |
ABSTRACT_ATTRIBUTE | final public static String ABSTRACT_ATTRIBUTE(Code) | | |
ARG_TYPE_ELEMENT | final public static String ARG_TYPE_ELEMENT(Code) | | |
ARG_TYPE_MATCH_ATTRIBUTE | final public static String ARG_TYPE_MATCH_ATTRIBUTE(Code) | | |
AUTOWIRE_ATTRIBUTE | final public static String AUTOWIRE_ATTRIBUTE(Code) | | |
AUTOWIRE_AUTODETECT_VALUE | final public static String AUTOWIRE_AUTODETECT_VALUE(Code) | | |
AUTOWIRE_BY_NAME_VALUE | final public static String AUTOWIRE_BY_NAME_VALUE(Code) | | |
AUTOWIRE_BY_TYPE_VALUE | final public static String AUTOWIRE_BY_TYPE_VALUE(Code) | | |
AUTOWIRE_CANDIDATE_ATTRIBUTE | final public static String AUTOWIRE_CANDIDATE_ATTRIBUTE(Code) | | |
AUTOWIRE_CONSTRUCTOR_VALUE | final public static String AUTOWIRE_CONSTRUCTOR_VALUE(Code) | | |
BEANS_NAMESPACE_URI | final public static String BEANS_NAMESPACE_URI(Code) | | |
BEAN_NAME_DELIMITERS | final public static String BEAN_NAME_DELIMITERS(Code) | | |
BEAN_REF_ATTRIBUTE | final public static String BEAN_REF_ATTRIBUTE(Code) | | |
CLASS_ATTRIBUTE | final public static String CLASS_ATTRIBUTE(Code) | | |
CONSTRUCTOR_ARG_ELEMENT | final public static String CONSTRUCTOR_ARG_ELEMENT(Code) | | |
DEFAULT_AUTOWIRE_ATTRIBUTE | final public static String DEFAULT_AUTOWIRE_ATTRIBUTE(Code) | | |
DEFAULT_DEPENDENCY_CHECK_ATTRIBUTE | final public static String DEFAULT_DEPENDENCY_CHECK_ATTRIBUTE(Code) | | |
DEFAULT_DESTROY_METHOD_ATTRIBUTE | final public static String DEFAULT_DESTROY_METHOD_ATTRIBUTE(Code) | | |
DEFAULT_INIT_METHOD_ATTRIBUTE | final public static String DEFAULT_INIT_METHOD_ATTRIBUTE(Code) | | |
DEFAULT_LAZY_INIT_ATTRIBUTE | final public static String DEFAULT_LAZY_INIT_ATTRIBUTE(Code) | | |
DEFAULT_MERGE_ATTRIBUTE | final public static String DEFAULT_MERGE_ATTRIBUTE(Code) | | |
DEPENDENCY_CHECK_ALL_ATTRIBUTE_VALUE | final public static String DEPENDENCY_CHECK_ALL_ATTRIBUTE_VALUE(Code) | | |
DEPENDENCY_CHECK_ATTRIBUTE | final public static String DEPENDENCY_CHECK_ATTRIBUTE(Code) | | |
DEPENDENCY_CHECK_OBJECTS_ATTRIBUTE_VALUE | final public static String DEPENDENCY_CHECK_OBJECTS_ATTRIBUTE_VALUE(Code) | | |
DEPENDENCY_CHECK_SIMPLE_ATTRIBUTE_VALUE | final public static String DEPENDENCY_CHECK_SIMPLE_ATTRIBUTE_VALUE(Code) | | |
DEPENDS_ON_ATTRIBUTE | final public static String DEPENDS_ON_ATTRIBUTE(Code) | | |
DESCRIPTION_ELEMENT | final public static String DESCRIPTION_ELEMENT(Code) | | |
DESTROY_METHOD_ATTRIBUTE | final public static String DESTROY_METHOD_ATTRIBUTE(Code) | | |
FACTORY_BEAN_ATTRIBUTE | final public static String FACTORY_BEAN_ATTRIBUTE(Code) | | |
FACTORY_METHOD_ATTRIBUTE | final public static String FACTORY_METHOD_ATTRIBUTE(Code) | | |
INDEX_ATTRIBUTE | final public static String INDEX_ATTRIBUTE(Code) | | |
INIT_METHOD_ATTRIBUTE | final public static String INIT_METHOD_ATTRIBUTE(Code) | | |
KEY_REF_ATTRIBUTE | final public static String KEY_REF_ATTRIBUTE(Code) | | |
KEY_TYPE_ATTRIBUTE | final public static String KEY_TYPE_ATTRIBUTE(Code) | | |
LAZY_INIT_ATTRIBUTE | final public static String LAZY_INIT_ATTRIBUTE(Code) | | |
LOCAL_REF_ATTRIBUTE | final public static String LOCAL_REF_ATTRIBUTE(Code) | | |
LOOKUP_METHOD_ELEMENT | final public static String LOOKUP_METHOD_ELEMENT(Code) | | |
MERGE_ATTRIBUTE | final public static String MERGE_ATTRIBUTE(Code) | | |
NAME_ATTRIBUTE | final public static String NAME_ATTRIBUTE(Code) | | |
PARENT_ATTRIBUTE | final public static String PARENT_ATTRIBUTE(Code) | | |
PARENT_REF_ATTRIBUTE | final public static String PARENT_REF_ATTRIBUTE(Code) | | |
PROPERTY_ELEMENT | final public static String PROPERTY_ELEMENT(Code) | | |
REPLACED_METHOD_ELEMENT | final public static String REPLACED_METHOD_ELEMENT(Code) | | |
REPLACER_ATTRIBUTE | final public static String REPLACER_ATTRIBUTE(Code) | | |
SCOPE_ATTRIBUTE | final public static String SCOPE_ATTRIBUTE(Code) | | |
SINGLETON_ATTRIBUTE | final public static String SINGLETON_ATTRIBUTE(Code) | | |
TRUE_VALUE | final public static String TRUE_VALUE(Code) | | Value of a T/F attribute that represents true.
Anything else represents false. Case seNsItive.
|
TYPE_ATTRIBUTE | final public static String TYPE_ATTRIBUTE(Code) | | |
VALUE_ATTRIBUTE | final public static String VALUE_ATTRIBUTE(Code) | | |
VALUE_REF_ATTRIBUTE | final public static String VALUE_REF_ATTRIBUTE(Code) | | |
VALUE_TYPE_ATTRIBUTE | final public static String VALUE_TYPE_ATTRIBUTE(Code) | | |
logger | final protected Log logger(Code) | | |
BeanDefinitionParserDelegate | public BeanDefinitionParserDelegate(XmlReaderContext readerContext)(Code) | | Create a new BeanDefinitionParserDelegate associated with the
supplied
XmlReaderContext .
|
error | protected void error(String message, Element source)(Code) | | Report an error with the given message for the given source element.
|
error | protected void error(String message, Element source, Throwable cause)(Code) | | Report an error with the given message for the given source element.
|
getDependencyCheck | public int getDependencyCheck(String att)(Code) | | |
isDefaultNamespace | public boolean isDefaultNamespace(String namespaceUri)(Code) | | |
parseBeanDefinitionElement | public AbstractBeanDefinition parseBeanDefinitionElement(Element ele, String beanName, BeanDefinition containingBean)(Code) | | Parse the bean definition itself, without regard to name or aliases. May return
null if problems occured during the parse of the bean definition.
|
parseConstructorArgElement | public void parseConstructorArgElement(Element ele, BeanDefinition bd)(Code) | | Parse a constructor-arg element.
|
parseConstructorArgElements | public void parseConstructorArgElements(Element beanEle, BeanDefinition bd)(Code) | | Parse constructor-arg sub-elements of the given bean element.
|
parseLookupOverrideSubElements | public void parseLookupOverrideSubElements(Element beanEle, MethodOverrides overrides)(Code) | | Parse lookup-override sub-elements of the given bean element.
|
parseMergeAttribute | public boolean parseMergeAttribute(Element collectionElement)(Code) | | Parse the merge attribute of a collection element, if any.
|
parsePropertyElements | public void parsePropertyElements(Element beanEle, BeanDefinition bd)(Code) | | Parse property sub-elements of the given bean element.
|
parsePropertySubElement | public Object parsePropertySubElement(Element ele, BeanDefinition bd, String defaultTypeClassName)(Code) | | Parse a value, ref or collection sub-element of a property or
constructor-arg element.
Parameters: ele - subelement of property element; we don't know which yet Parameters: defaultTypeClassName - the default type (class name) for any<value> tag that might be created |
parsePropertyValue | public Object parsePropertyValue(Element ele, BeanDefinition bd, String propertyName)(Code) | | Get the value of a property element. May be a list etc.
Also used for constructor arguments, "propertyName" being null in this case.
|
parseReplacedMethodSubElements | public void parseReplacedMethodSubElements(Element beanEle, MethodOverrides overrides)(Code) | | Parse replaced-method sub-elements of the given bean element.
|
|
|