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

    In/Outjection prefixes

    Tio Malandra Newbie

      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