0 Replies Latest reply on Dec 14, 2006 6:53 AM by tiomalandra

    In/Outjection prefixes

    tiomalandra

      Seam Team:

      I want to know if in a future seam release, you can include a new feature that make easy the in/outjection of prefixed components

      By example, there are two classes in our model:

      @Name("com.mycompany.person")
      class Person{....}
      
      @Name("com.mycompany.employee")
      class Employee{....}
      


      It's very simple to write
      @Import("com.mycompany")
      @Name("register")
      class RegisterAction{
      
       @In
       Person person;
      
       @In
       Employee employee;
      
      }
      


      ...instead of

      @Name("register")
      class RegisterAction{
      
       @In("org.mycompany.person")
       Person person;
      
       @In("org.mycompany.employee")
       Employee employee;
      
      }
      


      Sorry my english! ;)
      Cheers