Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Question about constructor pointcuts

On Tuesday 25 November 2008 17:21:39 Simone Gianni wrote:
> Hi Andy,
> unfortunately Spring uses reflection to create new objects, and
> invocation of methods (or constructors) using reflection is not trapped
> by AspectJ.

Why not? After all creating a new object with reflection resolves in invoking 
the null-argument constructor, so why should AspectJ don't trap the 
constructor call? 

Luca


Back to the top