Created
July 14, 2011 15:39
-
-
Save anpieber/1082695 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Activator implements BundleActivator { | |
| private DefaultWebApplicationFactory applicationFactory; | |
| public void start(BundleContext context) throws Exception { | |
| applicationFactory = | |
| new DefaultWebApplicationFactory(context, WicketApplication.class, "plain.simple", "plain/simple"); | |
| applicationFactory.register(); | |
| } | |
| public void stop(BundleContext context) throws Exception { | |
| applicationFactory.dispose(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment