Skip to content

Instantly share code, notes, and snippets.

@amischler
Created August 14, 2013 14:56
Show Gist options
  • Save amischler/6231819 to your computer and use it in GitHub Desktop.
Save amischler/6231819 to your computer and use it in GitHub Desktop.
@Override
public Factory getFactory() {
return new Factory() {
Injector injector = Guice.createInjector(new MyModule());
@Override
public <R extends FacadeReady> R call(Class<R> clazz) throws CoreException {
return injector.getInstance(clazz);
}
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment