/** * @see Binder#bindScope(Class, Scope) */ protected void bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) { binder.bindScope(scopeAnnotation, scope); }
@Override public void applyTo(Binder binder) { binder.withSource(getSource()).bindScope(annotationType, scope); } }
@Override public void configure(Binder binder) { binder = binder.withSource(SourceProvider.UNKNOWN_SOURCE); binder.bind(Stage.class).toInstance(stage); binder.bindScope(Singleton.class, SINGLETON); } }
/** * @see Binder#bindScope(Class, Scope) */ protected void bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) { binder.bindScope(scopeAnnotation, scope); }
/** * @see Binder#bindScope(Class, Scope) */ protected void bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) { binder.bindScope(scopeAnnotation, scope); }
/** * @see Binder#bindScope(Class, Scope) */ protected void bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) { binder.bindScope(scopeAnnotation, scope); }
/** * @see Binder#bindScope(Class, Scope) */ protected void bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) { binder.bindScope(scopeAnnotation, scope); }
@Override public void applyTo(Binder binder) { binder.withSource(getSource()).bindScope(annotationType, scope); } }
@Override public void applyTo(Binder binder) { binder.withSource(getSource()).bindScope(annotationType, scope); } }
@Override public void applyTo(Binder binder) { binder.withSource(getSource()).bindScope(annotationType, scope); } }
@Override public void applyTo(Binder binder) { binder.withSource(getSource()).bindScope(annotationType, scope); } }
@Override public void configure(Binder binder) { binder = binder.withSource(SourceProvider.UNKNOWN_SOURCE); binder.bind(Stage.class).toInstance(stage); binder.bindScope(Singleton.class, SINGLETON); } }
@Override public void configure(Binder binder) { binder = binder.withSource(SourceProvider.UNKNOWN_SOURCE); binder.bind(Stage.class).toInstance(stage); binder.bindScope(Singleton.class, SINGLETON); } }
@Override public void configure(Binder binder) { binder = binder.withSource(SourceProvider.UNKNOWN_SOURCE); binder.bind(Stage.class).toInstance(stage); binder.bindScope(Singleton.class, SINGLETON); } }
@Override public void configure(Binder binder) { binder = binder.withSource(SourceProvider.UNKNOWN_SOURCE); binder.bind(Stage.class).toInstance(stage); binder.bindScope(Singleton.class, SINGLETON); } }