OK, so the lifecycle just isn't really fully defined. There's construction of the Service implementation, which takes place many times, and then there's registration of the Service implementation, which isn't really captured anywhere. If my JpaServices instance had a register or initialize or thisIsTheRealOne callback that would help immensely. Maybe Service could get a default register(BeanManager) method or something similar? |