Hi everyone, I'm complete newbie in spring framework especially in xml based on AOP.
I really don't know about what is interceptorNames, MappedNames, pointcut and else for what did they use for.
Please explain to me for what the xml code's work flow do below. I got it from my friend prog that makes me become interesting to know and learn.
<object id="BeforeAdivisor" type="Spring.Aop.Support.NameMatchMethodPointcutAdvisor, Spring.Aop"> <property name="Advice"> <object type="Spring.Command.BeforeAdvice, Spring.Command" /> </property> <property name="MappedNames"> <list> <value>*Save</value> </list> </property> </object> <object id="classIdentityTest" type="Spring.Aop.Framework.ProxyFactoryObject, Spring.Aop"> <property name="Target"> <object type="SourceProg.classidentityTest, SourceProg" /> </property> <property name="InterceptorNames"> <list> <value>BeforeAdivisor</value> </list> </property> </object>