This content has been marked as final.
Show 2 replies
-
1. Re: Problem synchronizing managed-persistence-context
cpopetz Nov 2, 2007 3:21 PM (in response to cpopetz)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 :) -
2. Re: Problem synchronizing managed-persistence-context
cpopetz Nov 2, 2007 3:24 PM (in response to cpopetz)"cpopetz" wrote:
Doh, I see. I have to make the <factory> stateless, which the example in the docs did (though it didn't describe why it did so.)
:)
My "make the stateless" should have been "make the factory stateless" but because I wrapped "factory" in brackets it disappeared.