[Moose-dev] Behavior >> instanceMethodsChanges

Adrian Kuhn akuhn at gmx.ch
Tue Oct 2 16:02:51 MEST 2007


There is a nice method in Behavior that is invoked when ever the  
annotations of a class's methods change, would be nice to use that to  
make Meta more causally connected. Would be nice if someone has time  
to do that, refer to

> instanceMethodsChanged
> 	"One of the receiver's instance methods which has meta
> 	annotations changed. The method may have been removed,
> 	or may be about to be added. Because this action may be
> 	invoked many times, and because the change it reflects
> 	may not be completed yet, the receiver's response should
> 	probably be fairly limited (such as flushing a cache) rather
> 	than something more proactive, such as actively repopulating
> 	a data structure that records the state of things."
>
> 	^self

Maybe that is also useful for you, Andrea.

cheers,
AA





More information about the Moose-dev mailing list