Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Using Aspectj to Access a Private Base Class Member

Hi all,

I am writing a subclass that derives from a public
Apache Axis WSIF class.  In one of the methods I am
overwriting, I need access to a private member
variable of the Apache Axis base class.  However,
there is no getter method for that member variable, so
my derived class has no way to access this variable.

I first tried to declare a getter method in the
aspect, but that wouldn’t compile because the aspect
didn’t have visibility to the private field in
question.

What is the best way to use aspectj to define a means
for my derived class to get at the private variable in
the base class?

Thanks in advance,
John




	
		
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html


Back to the top