public interface

ScopedBindingBuilder

com.google.inject.binder.ScopedBindingBuilder
Known Indirect Subclasses

Class Overview

See the EDSL examples at Binder.

Summary

Public Methods
abstract void asEagerSingleton()
Instructs the Injector to eagerly initialize this singleton-scoped binding upon creation.
abstract void in(Scope scope)
See the EDSL examples at Binder.
abstract void in(Class<? extends Annotation> scopeAnnotation)
See the EDSL examples at Binder.

Public Methods

public abstract void asEagerSingleton ()

Instructs the Injector to eagerly initialize this singleton-scoped binding upon creation. Useful for application initialization logic. See the EDSL examples at Binder.

public abstract void in (Scope scope)

See the EDSL examples at Binder.

public abstract void in (Class<? extends Annotation> scopeAnnotation)

See the EDSL examples at Binder.