Just as an aside, using the interface spec is how annotations are implemented since annotations are basically just interfaces. Wicket implemented a project wide standard marker interface for all clusterable objects, to achieve the same effect.
So yes, you should be able to get this working. Alex Miller wrote: > Yes, you can also select subclasses/implementors with a subtype expression: > http://www.terracotta.org/confluence/display/docs1/AspectWerkz+Pattern+Language#AspectWerkzPatternLanguage-Subtypepatterns > > Basically, after the interface or superclass, you place a +. > > > ----- Original Message ----- > From: "Jason Chaffee" <[EMAIL PROTECTED]> > To: [email protected], [EMAIL PROTECTED] > Sent: Friday, December 7, 2007 1:01:17 PM (GMT-0600) America/Chicago > Subject: Re: [tc-dev] [tc-users] global lock level > > I haven’t used aspect expressions in a couple of years so I am a little > rusty. Is it possible to write an expression that includes “extends Object” > or “implements interface”? If this is the case then this should be quite > easy, otherwise it would be hard because we have some teams and figuring out > how to write the expression to catch everything would be tricky. > > _______________________________________________ > tc-dev mailing list > [email protected] > http://lists.terracotta.org/mailman/listinfo/tc-dev > > _______________________________________________ > tc-dev mailing list > [email protected] > http://lists.terracotta.org/mailman/listinfo/tc-dev > _______________________________________________ tc-dev mailing list [email protected] http://lists.terracotta.org/mailman/listinfo/tc-dev
