You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Date:2008-03-26 12:49
Priority:3
Submitted By:Dean Wampler (deanwampler)
Assigned To:Dean Wampler (deanwampler)
Category:None
State:Open
Summary:Reusable aspects: deferred definition of pointcuts and advising of join points
Detailed description
There is currently no easy way to define a reusable aspect, where the actual pointcuts are specified and evaluated later, because the Aspect is evaluated as soon as it is declared!
It would not be difficult to extend Aspect to defer evaluation (See #19 (RubyForge-14054) for a related feature request). It should also be possible to allow deferred specification of pointcuts.
For now, there is a "module_eval" hack documented in
examples/reusable_aspect_hack_example.rb
The text was updated successfully, but these errors were encountered:
Date:2008-03-26 12:49
Priority:3
Submitted By:Dean Wampler (deanwampler)
Assigned To:Dean Wampler (deanwampler)
Category:None
State:Open
Summary:Reusable aspects: deferred definition of pointcuts and advising of join points
Detailed description
There is currently no easy way to define a reusable aspect, where the actual pointcuts are specified and evaluated later, because the Aspect is evaluated as soon as it is declared!
It would not be difficult to extend Aspect to defer evaluation (See #19 (RubyForge-14054) for a related feature request). It should also be possible to allow deferred specification of pointcuts.
For now, there is a "module_eval" hack documented in
examples/reusable_aspect_hack_example.rb
The text was updated successfully, but these errors were encountered: