Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Aspect association question

Thanks for the previous response. 

I have two questions:

1)Can we have a perobject aspect association when the aspect to
associate is nested? i.e.:

aspect outer perthis(){
	Aspect inner perthis(){
		String anyString="Something";
	}

}

2)In case the response to 1 is yes, how can I access a member from
outside both aspects. I am trying the following unsuccessfully:

outer.aspectOf(inner.aspectOf(myAccountProvider)).anyString);

inner.aspectOf(myAccountProvider)).anyString;

and some others

Thak you

Herbey




Back to the top