Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] within pointcut only matches 'phisically'

within() and withincode() are lexical matches.  Your ITD is within()
your aspect lexically, not within your target class.

If you break security with an ITD then I would probably say
the original aspect is not quite right in the first place.

In the example mentioned above I'd probably change it to:
  call() && target(WebExposedService)

Andy.


Back to the top