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

    Adding number of domain objects to seam context

    Martin Noname Newbie


      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!