[jboss-user] [JBoss Seam] - Re: Problem synchronizing managed-persistence-context

cpopetz do-not-reply at jboss.com
Fri Nov 2 15:21:30 EDT 2007


Doh, I see.  I have to make the  stateless, which the example in the docs did (though it didn't describe why it did so.)

I still think it's a little strange to have the @Unwrap annotation being used in that way.  It would be better to have an @UponInjection annotation, which is called regardless of whether an unwrap is needed.  And factory methods should call @UponInjection upon their delegates, if the latter are also components.

Just random musings...you guys have thought about this more than I have :)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101433#4101433

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101433



More information about the jboss-user mailing list