RE: Re: Re: new XML configuration

"Jon Tirsen" <[email protected]> Mon, 12 May 2003 19:28:47 +0200
Newsgroups gmane.comp.java.nanning.devel
Message-ID <001201c318ab$f50a8f10$6c4a59d5@jon>
Yes, I see your concern.

The easiest thing to implement is what I said so I'll probably start
with that. You could try it out and then we'll see if I need to make any
further adjustments. I don't know when I'll have to implement it though.

Isn't there any other persons using the XML configuration method?

> -----Original Message-----
> From: [email protected] [mailto:nanning-
> [email protected]] On Behalf Of Eric Jain
> Sent: Monday, May 12, 2003 12:07 PM
> To: nanning-dev
> Subject: [Nanning-developer] Re: Re: new XML configuration
> 
> > The <interceptor>-tag is a shortcut for
> > <aspect
> > class="com.tirsen.nanning.config.InterceptorAspect>
> 
> My concern was that you might end up with config files with lots of
> redundancy:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <aspect-system>
> 
>  <class name="A">
>   <interceptor class="LoggingInterceptor">
>    <scope>singleton</scope>
>    <pointcut>
>     <attribute>*</attribute>
>    </pointcut>
>   </interceptor>
>   <mixin>
>    <interface>TestInfo</interface>
>    <target>TestInfoImpl</target>
>   </mixin>
>  </class>
> 
>  <class name="B">
>   <interceptor class="LoggingInterceptor">
>    <scope>singleton</scope>
>    <pointcut>
>     <attribute>*</attribute>
>    </pointcut>
>   </interceptor>
>   <mixin>
>    <interface>TestInfo</interface>
>    <target>TestInfoImpl</target>
>   </mixin>
>  </class>
> 
>  <class name="C">
>   <interceptor class="LoggingInterceptor">
>    <scope>singleton</scope>
>    <pointcut>
>     <attribute>*</attribute>
>    </pointcut>
>   </interceptor>
>   <mixin>
>    <interface>TestInfo</interface>
>    <target>TestInfoImpl</target>
>   </mixin>
>  </class>
> 
>  <class name="D">
>   <!-- LoggingInterceptor removed for performance reasons -->
>   <mixin>
>    <interface>SecurityInfo</interface>
>    <target>SecurityInfoImpl</target>
>   </mixin>
>  </class>
> 
> </aspect-system>
> 
> 
> --
> Eric Jain
> 
> 
> 
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise
solutions
> www.enterpriselinuxforum.com
> 
> _______________________________________________
> Nanning-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nanning-developer



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com