[jboss-user] [JBoss Seam] - @Startup clarification

c_eric_ray do-not-reply at jboss.com
Mon May 14 17:25:35 EDT 2007


When using the depends attribute which of the following is correct.

1. Fully qualified name of Bean Interface - com.whatever.Customer
2. Fully qualified name of Bean - com.whatever.CustomerBean
3. Name of Seam component  - @Name("customer")

So when defining my seam component and using the @Startup annotation what goes in the XXX spot. I want this class below to depend on the CustomerBean class.


  | @Name("someSeamComp")
  | @Stateful
  | @Startup(depends={"XXX"})
  | public class SomeSeamComp extends SSCLocal {
  |   .... blah, blah, blah ...
  | }
  | 

Thanks.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045600



More information about the jboss-user mailing list