Skip to content

Instantly share code, notes, and snippets.

@krisskross
Created May 2, 2012 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krisskross/2580648 to your computer and use it in GitHub Desktop.
Save krisskross/2580648 to your computer and use it in GitHub Desktop.
register runtime
RuntimeContext runtime = Lookup.get().lookup(RuntimeContext.class);
runtime.register(Database.class);
List<Database> tests = runtime.all(Database.class);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment