Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. class FactoryImpl implements Disposable {}
  2.  
  3. bind(Factory.class)
  4. .to(FactoryImpl.class)
  5. .in(Singleton.class);
  6.  
  7. bind(Factory.class)
  8. .to(FactoryImpl.class)
  9. .asEagerSingleton();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement