When I use name like this:

  | @Name("app.userService")
  | @AutoCreate
  | class UserService extends BaseService {
  |  ....
  | 

I must use the component like this:

  |   @In("app.userService") UserService userService
  | 

But when I use name in Entity class like this:

  | @Entity
  | @Name("app.user")
  | @Scope(SESSION)
  | @Table(name="App_User")
  | class User implements Serializable
  | {
  | 

I can still use the User component like this:

  |  @In(required = false) 
  |  @Out(required = false, scope = SESSION)
  |  User user;
  | 

Why JBoss Seam don't matter about the name 'app.user'?



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

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

Reply via email to