Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Stateful JoinPoints

"David" == David J Pearce <d.pearce@xxxxxxxxxxxx> writes:

	David> Well, the idea would be only to permit such state if the client
	David> in question explicitly requested it - e.g. by overriding the
	David> JoinPoint.StaticPart class.

Are you suggesting that such overriding be allowed on a per-class/interface
basis?

If not, that would seem to present a possible barrier to the reuse of classes
across applications: one class might want one kind of derived static part,
while a different class might want another.

If so, one might imagine other difficulties.  For instance, if AspectJ allowed
derived static part objects on a per-interface basis, what should AspectJ do
for a class that implements two interfaces that request different derived
static part objects?

Eric.

-- 
-------------------------------------------------------------------------------
Eric Eide <eeide@xxxxxxxxxxx>  .         University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX


Back to the top