[jboss-jira] [JBoss JIRA] Commented: (JBAOP-338) Expose getInstance on InstanceAdvisor
Clebert Suconic (JIRA)
jira-events at jboss.com
Thu Jan 4 13:34:26 EST 2007
[ http://jira.jboss.com/jira/browse/JBAOP-338?page=comments#action_12349570 ]
Clebert Suconic commented on JBAOP-338:
---------------------------------------
On Jboss Messaging this was discussed at this thread:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998026#3998026
This is not necessarly a disucssion about this feature, so that's why I didn't set the forum thread, but I left a link here as a comment.
> 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
More information about the jboss-jira
mailing list