• Post Reply Bookmark Topic Watch Topic
  • New Topic

PreDestroy interceptor method and transactional context  RSS feed

 
Himai Minh
Ranch Hand
Posts: 1584
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Refer to p.76 of JSR 318, why PreDestroy lifecyle callback interceptor methods for stateless/stateful bean execute in an unspecified transactional context while the PreDestroy method for singleton execute in a transactional context determined by the bean's transaction management type (container/bean managed) and transaction attribute( REQUIRE, REQUIRE_NEW, NEVER and etc) ?


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!