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

Kabir Khan (JIRA) jira-events at jboss.com
Thu Jan 4 13:36:26 EST 2007


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

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