Re: [aspectwerkz-user] Determine object instance from within an AbstractAspectContainer impl
Alexandre Vasseur <[email protected]> Thu, 2 Jun 2005 14:25:09 +0200
| Newsgroups | gmane.comp.java.aspectwerkz.user |
|---|---|
| Message-ID | <[email protected]> |
For this kind of need you 'll have to use a perTarget or perThis aspect, and then aspectOf() method overriding from http://aspectwerkz.codehaus.org/apidocs/org/codehaus/aspectwerkz/aspect/AbstractAspectContainer.html should be usefull Alex On 6/2/05, AVERY, Neil, FM <[email protected]> wrote: > Hi All, > Im implementing an AbstractAspectContainer to work within our app. It > delegates aspect lookups to our container; however we have a situation where > we would like to know which object instance the aspect is being requested > for. > > Is this possible? > > Ive been looking at m_aspectContext and it doesn't seem like there is a > means of obtaining the object reference. > Regards Neil. > > > *********************************************************************************** > The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. > Authorised and regulated by the Financial Services Authority > > This e-mail message is confidential and for use by the > addressee only. If the message is received by anyone other > than the addressee, please return the message to the sender > by replying to it and then delete the message from your > computer. Internet e-mails are not necessarily secure. The > Royal Bank of Scotland plc does not accept responsibility for > changes made to this message after it was sent. > > Whilst all reasonable care has been taken to avoid the > transmission of viruses, it is the responsibility of the recipient to > ensure that the onward transmission, opening or use of this > message and any attachments will not adversely affect its > systems or data. No responsibility is accepted by The Royal > Bank of Scotland plc in this regard and the recipient should carry > out such virus and other checks as it considers appropriate. > Visit our websites at: > http://www.rbs.co.uk/CBFM > http://www.rbsmarkets.com > ******************************************************************************** > >