Expose getInstance on InstanceAdvisor
-------------------------------------
Key: JBAOP-338
URL:
http://jira.jboss.com/jira/browse/JBAOP-338
Project: JBoss AOP
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Clebert Suconic
If you want to control instantiation of an Aspect, you need exposure of the Object on
InstanceAdvisor, as AspectFactory holds the instance in a private way.
I had an use case where I needed to control locks in an interceptor, and I needed a single
instance for every descendant of that object. I could do it Straightforward by using
Factories but since I couldn't get exposure of the Instance I couldn't have use
the factory feature.
I think it would make sense to expose it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira