org.jboss.seam.examples.booking.bootstrap
Class ApplicationInitializer
java.lang.Object
org.jboss.seam.examples.booking.bootstrap.ApplicationInitializer
@Alternative
public class ApplicationInitializer
- extends Object
An alternative bean used to import seed data into the database when the application is being initialized.
- Author:
- Lincoln Baxter, III, Dan Allen
|
Method Summary |
void |
importData(org.jboss.solder.servlet.WebApplication webapp)
Import seed data when Seam Servlet fires an event notifying observers that the web application is being initialized. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationInitializer
public ApplicationInitializer()
importData
public void importData(@Observes@Initialized
org.jboss.solder.servlet.WebApplication webapp)
- Import seed data when Seam Servlet fires an event notifying observers that the web application is being initialized.
Copyright © 2012 Seam Framework. All Rights Reserved.