0 Replies Latest reply on Jan 20, 2011 10:29 AM by martin4s

    Adding number of domain objects to seam context

    martin4s

      Hi,


      I have the following case in my application: I have a seam component (singleton) which knows a list of domain objects (no seam objects, because there are multiple instances of the same class, which depends on some external circumstances).
      The domain objects also contain business logic which need other seam components. Seam injection doesn't work in non-seam-components, that's why I set them manually while instantiating them. But when I call these seam components, they don't have their injected values. The reason is that I have now left the seam context - I think.


      What's the seam way for this use case? What to do with many instances of the same class without leaving the seam context?


      Thanks for help!


      Martin