|
From: Rod J. <rod...@in...> - 2003-10-15 13:52:45
|
> W/regards to redefining TransactionAttributeSourceEditor to allow for > wildcards also in the classname, that's a useful feature, but the > internal workings of the class would have to change. Right now, using a > MethodMapTransactionAttributeSource, essentially all the methods of the > specified classes get added to the transactional method map (if they > match the method regex). So this approach wouldn't work for regexes at > the class level. You'd probably have to do matches at runtime, with > consequently slower performance (although I guess you could cache the > hits and misses, to alleviate this, making the performance pretty well > identical on second and subsequent calls to the same method). What do > you think of this idea I prototyped such an approach a couple of months ago. The performance seemed not too bad. I haven't committed it. However, maybe I should when I get time, if people are interested. |