[jboss-jira] [JBoss JIRA] Closed: (JBAOP-338) Expose getInstance on InstanceAdvisor

Kabir Khan (JIRA) jira-events at jboss.com
Mon Jan 22 12:52:58 EST 2007


     [ http://jira.jboss.com/jira/browse/JBAOP-338?page=all ]

Kabir Khan closed JBAOP-338.
----------------------------

    Resolution: Done

> 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: 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