Top Description Methods
com.google.inject.binder

public Interface ScopedBindingBuilder

Known Direct Subinterfaces
com.google.inject.binder.LinkedBindingBuilder
Imports
com.google.inject.Scope, java.lang.annotation.Annotation

See the EDSL examples at com.google.inject.Binder.
Author
[email protected] (Bob Lee)

Method Summary

Modifier and TypeMethod and Description
public void
asEagerSingleton()

Instructs the com.google.inject.Injector to eagerly initialize this singleton-scoped binding upon creation.

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

See the EDSL examples at com.google.inject.Binder.

public void
in(Scope scope)

See the EDSL examples at com.google.inject.Binder.

Method Detail

asEagerSingletonback to summary
public void asEagerSingleton()

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

inback to summary
public void in(Class<? extends Annotation> scopeAnnotation)

See the EDSL examples at com.google.inject.Binder.

inback to summary
public void in(Scope scope)

See the EDSL examples at com.google.inject.Binder.