Second question

@Out @In works with contexts.

@Out
private String hotel; 
The @Out annotation declares that an attribute value is outjected to a context 
variable after method invocations. In this case, the context variable named 
hotel will be set to the value of the hotel instance variable after every 
action listener invocation completes.   (C)Seam Reference.

The key point for understanding, that injection and outjection occurs on each 
invocation of an any method of this bean, that was made as action listener 
invocation. If you just call method from java code there will be no 
in/outjection.

And also be aware with what contexts you are working.

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

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

Reply via email to