Results 1 to 6 of 6

Thread: Dynamic Dependency Injection

Threaded View

  1. #1
    Join Date
    Feb 2012
    Posts
    3

    Default Dynamic Dependency Injection

    Good morning,

    I've worked with JBoss Seam, and a functionality that I miss in Spring is the use of injection dynamics.

    I find this feature very useful in some situations. In the Spring we could, for example, in a web context, have an Application scoped bean, which has a dependency on Session scope. Or a bean Session scoped, with a reliance on scoped Request.

    And these dependencies would be reinjected in the beans whenever the container to be created, not just once (at the time of creation of the bean), such as Spring does today.

    Today my solution to this type of scenario are the lookup-methods. It is an approach that does not please me much, with all respect.

    They consider this useful feature? I'm thinking to hold a fork of Spring to develop, but only if the community is in agreement.

    If not, could, please show me another solution?

    Forgive my bad English.

    Thanks!
    Last edited by ljtfreitas; Mar 15th, 2012 at 10:50 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •