[seam-dev] Re: Blocked threads
Dan Allen
dan.j.allen at gmail.com
Thu Jun 5 10:43:28 EDT 2008
> These are the changes I made in Component.java:
>
> if ( getType()==JAVA_BEAN &&
> beanClassHasAnnotation(Transactional.class))
> {
> - addInterceptor( new Interceptor( new TransactionInterceptor(),
> this ) );
> + // TODO: PERFORMANCE ISSUE! addInterceptor( new Interceptor( new
> TransactionInterceptor(), this ) );
I think we should only do this *if* transaction management
(Seam-managed global trasaction) is being used. If not, then we have
no transaction at all on the call.
Init.instance().isTransactionManagementEnabled()
--
Dan Allen
Software consultant | Author of Seam in Action
http://mojavelinux.com
http://mojavelinux.com/seaminaction
NOTE: While I make a strong effort to keep up with my email on a daily
basis, life and work come first and, at times, keep me away from my mail
for a while. If you contact me, then don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters. Please don't hesitate to resend a message if
you feel that it did not reach my attention.
More information about the seam-dev
mailing list