Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class FactoryImpl implements Disposable {}
- bind(Factory.class)
- .to(FactoryImpl.class)
- .in(Singleton.class);
- bind(Factory.class)
- .to(FactoryImpl.class)
- .asEagerSingleton();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement