Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package mypackage;
- import org.jboss.weld.environment.se.Weld;
- import org.jboss.weld.environment.se.WeldContainer;
- import javax.inject.Inject;
- import javax.inject.Named;
- public class Runner
- {
- public static void main(String[] args) {
- Weld weld = new Weld();
- WeldContainer container = weld.initialize();
- MyAnonym application = container.instance().select(MyAnonym.class).get();
- application.index();
- weld.shutdown()
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement