| java.lang.Object org.acegisecurity.util.BeanDefinitionParserUtils
BeanDefinitionParserUtils | public class BeanDefinitionParserUtils (Code) | | The convenience methods for the parsing of bean definition xml file.
author: Vishal Puri |
registerBeanDefinition | public static void registerBeanDefinition(ParserContext parserContext, RootBeanDefinition defintion)(Code) | | Parameters: parserContext - Parameters: defintion - |
setConstructorArgumentIfAvailable | public static void setConstructorArgumentIfAvailable(int index, Element element, String attribute, boolean isRunTimeBeanReference, RootBeanDefinition definition)(Code) | | |
setPropertyIfAvailable | public static boolean setPropertyIfAvailable(Element element, String attribute, String property, boolean isRunTimeBeanReference, RootBeanDefinition definition)(Code) | |
Configure a BeanDefinition with the property value
retrieved from xml attribute. If the attribute is like a standard spring
'ref' attribute as indicated by 'isRunTimeBeanReference', the property
will be resolved as a reference to the spring bean.
Parameters: element - The parent element. Parameters: attribute - The child attribute. Parameters: property - The configuration property for the BeanDefinition Parameters: isRunTimeBeanReference - Indicates if the property is like astandard spring 'ref' attribute. Parameters: definition - The BeanDefinition to configure with the propertyprovided. boolean To indicate if BeanDefinition was configured with aproperty. |
|
|