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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993805#3993805

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993805
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to