]
Kabir Khan updated JBAOP-338:
-----------------------------
Fix Version/s: 2.0.0.alpha3
Assignee: Kabir Khan
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
Assigned To: Kabir Khan
Fix For: 2.0.0.alpha3
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: