-
Mar 9th, 2010, 12:38 PM
#1
Introductions - how to access decorated bean from introduced methods
I have seen (and reproduced) the examples of the lockable mixin that retains state within the default implementation class. This demonstrates how to add a "self-enclosed" implementation i.e. the mixin methods access the mixin properties - but I do not see how the mixin methods can access the properties of the "decorated" object.
I tried to wrap "around" advice on the mixin interface but this does not work - I am guessing because the new instance creation of the default implementation class is created is not going through the auto-proxy (??)
Am I missing some fundamental concept? Without this ability the mixin approach seems very limited.
I am using Spring AOP 2 annotation syntax.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules