[jboss-user] [JBoss Seam] - Re: @Create

moxi do-not-reply at jboss.com
Tue May 15 10:38:04 EDT 2007


"toni" wrote : Hi,
  | 
  | I'm using @Create to initialize a collection upon the creation of my SFSB.
  | 

You would have to use the @Factory annotation instead of @Create.

@Factory("collectionName")
public void fillCollection(){
   // bla bla bla
}

:)

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

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



More information about the jboss-user mailing list