[Springnet-commits] Spring.Net/doc/reference/src aop.xml, 1.44, 1.45
Brought to you by:
aseovic,
markpollack
From: Mark P. <mar...@us...> - 2007-10-02 04:43:16
|
Update of /cvsroot/springnet/Spring.Net/doc/reference/src In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv8261 Modified Files: aop.xml Log Message: SPRNET-738 - Document configuring aop Namespace parser clean up some ids for section links Index: aop.xml =================================================================== RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/aop.xml,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** aop.xml 8 Aug 2007 09:10:46 -0000 1.44 --- aop.xml 2 Oct 2007 04:43:12 -0000 1.45 *************** *** 907,912 **** </sect3> ! <sect3> ! <title id="aop-advice-ordering">Advice Ordering</title> <para>When multiple pieces of advice want to run on the same joinpoint --- 907,912 ---- </sect3> ! <sect3 id="aop-advice-ordering"> ! <title>Advice Ordering</title> <para>When multiple pieces of advice want to run on the same joinpoint *************** *** 1134,1138 **** </sect1> ! <sect1 id="aop-pfb"> <title id="aop-proxyfactoryobject">Using the ProxyFactoryObject to create AOP proxies</title> --- 1134,1138 ---- </sect1> ! <sect1 id="aop-pfo"> <title id="aop-proxyfactoryobject">Using the ProxyFactoryObject to create AOP proxies</title> *************** *** 1497,1502 **** </sect1> ! <sect1> ! <title id="aop-proxy-mechanism">Proxying mechanisms</title> <para>Spring creates AOP proxies built at runtime through the use of the --- 1497,1502 ---- </sect1> ! <sect1 id="aop-proxy-mechanism"> ! <title>Proxying mechanisms</title> <para>Spring creates AOP proxies built at runtime through the use of the *************** *** 1706,1711 **** in the following sections.</para> ! <sect3> ! <title id="aop-nameautoproxy">ObjectNameAutoProxyCreator</title> <para>The <literal>ObjectNameAutoProxyCreator</literal> automatically --- 1706,1711 ---- in the following sections.</para> ! <sect3 id="aop-nameautoproxy"> ! <title>ObjectNameAutoProxyCreator</title> <para>The <literal>ObjectNameAutoProxyCreator</literal> automatically *************** *** 2088,2093 **** </sect1> ! <sect1> ! <title id="aop-namespace">Using AOP Namespace</title> <para>The AOP namespace is under development, however as of Spring.NET 1.1 --- 2088,2093 ---- </sect1> ! <sect1 id="aop-namespace"> ! <title>Using AOP Namespace</title> <para>The AOP namespace is under development, however as of Spring.NET 1.1 *************** *** 2130,2133 **** --- 2130,2172 ---- aop:config tag and subsequent child tag, aop:advisor, brings together the pointcut with the advice.</para> + + <para>In order to have Spring.NET recognise the aop namespace, you need to + declare the namespace parser in the main Spring.NET configuration section. + For convenience this is shown below. Please refer to the section titled + <link lang="" linkend="context-configuration">context configuration</link> + for more extensive information..</para> + + <para><programlisting><configuration> + + <configSections> + <sectionGroup name="spring"> + + <section name="context" type="Spring.Context.Support.ContextHandler, Spring.Core"/> + <section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core" /> + + <emphasis role="bold"><section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core"/></emphasis> + + </sectionGroup> + </configSections> + + <spring> + + <emphasis role="bold"> <parsers> + <parser type="Spring.Aop.Config.AopNamespaceParser, Spring.Aop" /> + </parsers> </emphasis> + + + <context> + <resource uri="config://spring/objects"/> + </context> + + <objects xmlns="http://www.springframework.net"> + ... + </objects> + + </spring> + + </configuration> + </programlisting></para> </sect1> *************** *** 2310,2314 **** Inheritance is used in the TargetSource implementations to ensure consistent naming. As with the pooling target source, the target object ! must be a prototype object definition.</para> </sect2> </sect1> --- 2349,2354 ---- Inheritance is used in the TargetSource implementations to ensure consistent naming. As with the pooling target source, the target object ! must be a prototype object definition, the singleton property of the ! target should be set to false.</para> </sect2> </sect1> |