[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] EJB, AspectJ and context info

Try making your aspect a "privileged" aspect.

-Ramnivas

--- alberto.sanchez@xxxxxxxxxxxxx wrote:
> Hi,
>  
> I would like to access a private variable from my 'aspected' class
> from within an advice.  Is this possible? In detail I would like to
> access the EJB context variable (private and no get method) from
> within an advice that is inserted at a point cut before an EJB 
> public method.
>  
> Thank you in advance
> 
> 
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information.  If you
> have received it in error, please notify the sender immediately and
> delete the original.  Any other use of the email by you is
> prohibited.


=====
Ramnivas Laddad
Author, AspectJ in Action
http://www.manning.com/laddad
http://www.amazon.com/exec/obidos/ASIN/1930110936

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/