Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] newbie AspectJ questions

Hi,

I've been looking at AspectJ a lot recently (just finishing Adrian et
al's book at the moment) and I'm also a developer on the Acegi project.

I suspect Ben has already had some discussions on this topic, but if you
have some good ideas for improving (and extending) Acegi's use of
AspectJ we'd love to hear them.

cheers,

Luke.

Ron Bodkin wrote:
> My apologies: it appears Outlook remembered how my message looked when I
> switched from HTML to plain text mode, then transmitted the old copy...
> Trying again:
> 
> The Acegi Spring Security Framework's AspectJ integration expects a closure
> to let it decide whether or not to proceed with the original request (i.e.,
> it doesn't allow exceptions to abort processing). 
> 
> This coding style adds a lot of overhead, especially for fine-grained
> security (since you can't use an exception to abort processing, and it
> *requires* you to pass in a thisJoinPoint object).
> 
> Maybe with Spring 2.0 Adrian can help improve Acegi's AspectJ integration...
> 
> On the bright side, at least their example says it is based on an abstract
> class (not an interface) and picks out a kind of join point (method
> execution)...
> 
> 



-- 
 Luke Taylor.                      Monkey Machine Ltd.
 PGP Key ID: 0x57E9523C            http://www.monkeymachine.ltd.uk



Back to the top