Skip to content

Instantly share code, notes, and snippets.

@mathieuancelin
Created January 27, 2012 15:24
Show Gist options
  • Save mathieuancelin/1689285 to your computer and use it in GitHub Desktop.
Save mathieuancelin/1689285 to your computer and use it in GitHub Desktop.
Weld weld = new Weld();
WeldContainer container = weld.initialize();
Instance<Object> instance = container.instance();
instance.select(Mybean.class).get();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment