BeanDefinitionParser for the <aop:config> tag.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final int | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final int | |
| private static final String | |
| private final ParseState | |
| private static final String | |
| private static final int | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | configureAutoProxyCreator(ParserContext parserContext, Element element)
Configures the auto proxy creator needed to support the |
| private AbstractBeanDefinition | createAdviceDefinition(Element adviceElement, ParserContext parserContext, String aspectName, int order, RootBeanDefinition methodDef, RootBeanDefinition aspectFactoryDef, List<BeanDefinition> beanDefinitions, List<BeanReference> beanReferences)
Creates the RootBeanDefinition for a POJO advice bean. |
| private AbstractBeanDefinition | createAdvisorBeanDefinition(Element advisorElement, ParserContext parserContext)
Create a |
| private AspectComponentDefinition | createAspectComponentDefinition(Element aspectElement, String aspectId, List<BeanDefinition> beanDefs, List<BeanReference> beanRefs, ParserContext parserContext)
|
| protected AbstractBeanDefinition | createPointcutDefinition(String expression)
Creates a |
| private Class | getAdviceClass(Element adviceElement, ParserContext parserContext)
Gets the advice implementation class corresponding to the supplied |
| private boolean | isAdviceNode(Node aNode, ParserContext parserContext)
Return |
| public BeanDefinition | parse(Element
the element that is to be parsed into one or more element, ParserContext BeanDefinitionsthe object encapsulating the current state of the parsing process;
provides access to a parserContext)org.Implements org. Element and register the resulting
BeanDefinition(s) with the
BeanDefinitionRegistry
embedded in the supplied ParserContext.
|
| private AbstractBeanDefinition | Returns: the generated advice RootBeanDefinitionParses one of ' |
| private void | parseAdvisor(Element advisorElement, ParserContext parserContext)
Parses the supplied |
| private void | |
| private AbstractBeanDefinition | parseDeclareParents(Element declareParentsElement, ParserContext parserContext)
Parse a ' |
| private AbstractBeanDefinition | parsePointcut(Element pointcutElement, ParserContext parserContext)
Parses the supplied |
| private Object | parsePointcutProperty(Element element, ParserContext parserContext)
Parses the |
| ADVICE_BEAN_NAME | back to summary |
|---|---|
| private static final String ADVICE_BEAN_NAME | |
| ADVICE_REF | back to summary |
|---|---|
| private static final String ADVICE_REF | |
| ADVISOR | back to summary |
|---|---|
| private static final String ADVISOR | |
| AFTER | back to summary |
|---|---|
| private static final String AFTER | |
| AFTER_RETURNING_ELEMENT | back to summary |
|---|---|
| private static final String AFTER_RETURNING_ELEMENT | |
| AFTER_THROWING_ELEMENT | back to summary |
|---|---|
| private static final String AFTER_THROWING_ELEMENT | |
| ARG_NAMES | back to summary |
|---|---|
| private static final String ARG_NAMES | |
| ARG_NAMES_PROPERTY | back to summary |
|---|---|
| private static final String ARG_NAMES_PROPERTY | |
| AROUND | back to summary |
|---|---|
| private static final String AROUND | |
| ASPECT | back to summary |
|---|---|
| private static final String ASPECT | |
| ASPECT_INSTANCE_FACTORY_INDEX | back to summary |
|---|---|
| private static final int ASPECT_INSTANCE_FACTORY_INDEX | |
| ASPECT_NAME_PROPERTY | back to summary |
|---|---|
| private static final String ASPECT_NAME_PROPERTY | |
| BEFORE | back to summary |
|---|---|
| private static final String BEFORE | |
| DECLARATION_ORDER_PROPERTY | back to summary |
|---|---|
| private static final String DECLARATION_ORDER_PROPERTY | |
| DECLARE_PARENTS | back to summary |
|---|---|
| private static final String DECLARE_PARENTS | |
| DEFAULT_IMPL | back to summary |
|---|---|
| private static final String DEFAULT_IMPL | |
| DELEGATE_REF | back to summary |
|---|---|
| private static final String DELEGATE_REF | |
| EXPRESSION | back to summary |
|---|---|
| private static final String EXPRESSION | |
| ID | back to summary |
|---|---|
| private static final String ID | |
| IMPLEMENT_INTERFACE | back to summary |
|---|---|
| private static final String IMPLEMENT_INTERFACE | |
| METHOD_INDEX | back to summary |
|---|---|
| private static final int METHOD_INDEX | |
| ORDER_PROPERTY | back to summary |
|---|---|
| private static final String ORDER_PROPERTY | |
| parseState | back to summary |
|---|---|
| private final ParseState parseState | |
| POINTCUT | back to summary |
|---|---|
| private static final String POINTCUT | |
| POINTCUT_INDEX | back to summary |
|---|---|
| private static final int POINTCUT_INDEX | |
| POINTCUT_REF | back to summary |
|---|---|
| private static final String POINTCUT_REF | |
| REF | back to summary |
|---|---|
| private static final String REF | |
| RETURNING | back to summary |
|---|---|
| private static final String RETURNING | |
| RETURNING_PROPERTY | back to summary |
|---|---|
| private static final String RETURNING_PROPERTY | |
| THROWING | back to summary |
|---|---|
| private static final String THROWING | |
| THROWING_PROPERTY | back to summary |
|---|---|
| private static final String THROWING_PROPERTY | |
| TYPE_PATTERN | back to summary |
|---|---|
| private static final String TYPE_PATTERN | |
| ConfigBeanDefinitionParser | back to summary |
|---|---|
| pack-priv ConfigBeanDefinitionParser() | |
| configureAutoProxyCreator | back to summary |
|---|---|
| private void configureAutoProxyCreator(ParserContext parserContext, Element element) Configures the auto proxy creator needed to support the
| |
| createAdviceDefinition | back to summary |
|---|---|
| private AbstractBeanDefinition createAdviceDefinition(Element adviceElement, ParserContext parserContext, String aspectName, int order, RootBeanDefinition methodDef, RootBeanDefinition aspectFactoryDef, List<BeanDefinition> beanDefinitions, List<BeanReference> beanReferences) Creates the RootBeanDefinition for a POJO advice bean. Also causes pointcut parsing to occur so that the pointcut may be associate with the advice bean. This same pointcut is also configured as the pointcut for the enclosing Advisor definition using the supplied MutablePropertyValues. | |
| createAdvisorBeanDefinition | back to summary |
|---|---|
| private AbstractBeanDefinition createAdvisorBeanDefinition(Element advisorElement, ParserContext parserContext) Create a | |
| createAspectComponentDefinition | back to summary |
|---|---|
| private AspectComponentDefinition createAspectComponentDefinition(Element aspectElement, String aspectId, List<BeanDefinition> beanDefs, List<BeanReference> beanRefs, ParserContext parserContext) | |
| createPointcutDefinition | back to summary |
|---|---|
| protected AbstractBeanDefinition createPointcutDefinition(String expression) Creates a | |
| getAdviceClass | back to summary |
|---|---|
| private Class Gets the advice implementation class corresponding to the supplied | |
| isAdviceNode | back to summary |
|---|---|
| private boolean isAdviceNode(Node aNode, ParserContext parserContext) Return | |
| parse | back to summary |
|---|---|
| public BeanDefinition parse(Element element, ParserContext parserContext) Implements org. Doc from org. Parse the specified Implementations must return the primary
| |
| parseAdvice | back to summary |
|---|---|
| private AbstractBeanDefinition parseAdvice(String aspectName, int order, Element aspectElement, Element adviceElement, ParserContext parserContext, List<BeanDefinition> beanDefinitions, List<BeanReference> beanReferences) Parses one of '
| |
| parseAdvisor | back to summary |
|---|---|
| private void parseAdvisor(Element advisorElement, ParserContext parserContext) Parses the supplied | |
| parseAspect | back to summary |
|---|---|
| private void parseAspect(Element aspectElement, ParserContext parserContext) | |
| parseDeclareParents | back to summary |
|---|---|
| private AbstractBeanDefinition parseDeclareParents(Element declareParentsElement, ParserContext parserContext) Parse a ' | |
| parsePointcut | back to summary |
|---|---|
| private AbstractBeanDefinition parsePointcut(Element pointcutElement, ParserContext parserContext) Parses the supplied | |
| parsePointcutProperty | back to summary |
|---|---|
| private Object parsePointcutProperty(Element element, ParserContext parserContext) Parses the
| |