[jboss-user] [JBoss Seam] - @Startup with EJB having multiple roles

pierospinelli do-not-reply at jboss.com
Fri Aug 17 10:34:12 EDT 2007


Hi,

let's consider the following case ;

@Stateful
  | @Name("firstRole")
  | @Role(name="secondRole", scope=ScopeType.CONVERSATION) 
  | @Interceptors(SeamInterceptor.class)
  | @Startup(depends={"otherBean"})
  | public class MyBean{
  | ...
  | }

Does the "@Startup" annotation allow a way to specify the name to be instanciated at Startup (i.e. "secondRole" instead than "firstRole")?


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

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



More information about the jboss-user mailing list