Aaron Mulder wrote:
> Currently, it looks like the TxInterceptor appears before the
> (EJB-type)InstanceInterceptor in the chain. This makes it difficult for
> the TxInterceptor to determine the Transaction setting - it has to use the
> EJB metadata to discover that for the method the first time it's invoked.
How else would this be done?
How would swapping them make it easier?
The idea behind the ordering is that interceptors that are not tied to a
particular instance is done first. If any of them fail we wont have to
talk to the cache (which is basically what the InstanceInterceptor does)
which is more efficient.
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com