[jboss-user] [JBoss Seam] - Re: about component Name convention
Fangzx
do-not-reply at jboss.com
Sun Dec 30 10:57:40 EST 2007
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
More information about the jboss-user
mailing list