[jboss-user] [JBoss Seam] - Re: Requirements for using @Startup annotation?
modoc
do-not-reply at jboss.com
Thu May 10 12:49:46 EDT 2007
Tony,
you are right. You need to put the @Startup annotation at the class level. This will create the object at the time the app is loaded/deployed, without user interaction.
If when the object is created, at that time, you ALSO want to run the init method, you need to annotate that method with @Create.
Does that make sense?
Devon
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044749#4044749
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044749
More information about the jboss-user
mailing list