org.apache.commons.inject.api.bind
Interface IScopedBindingBuilder<T>

All Known Subinterfaces:
IAnnotatedBindingBuilder<T>, ILinkedBindingBuilder<T>
All Known Implementing Classes:
DefaultBindingBuilder

public interface IScopedBindingBuilder<T>

A binding builder, which allows to specify a bindings scope.


Method Summary
 void asEagerSingleton()
           
 void asLazySingleton()
           
 void scope(Scopes pScope)
           
 

Method Detail

scope

void scope(Scopes pScope)

asEagerSingleton

void asEagerSingleton()

asLazySingleton

void asLazySingleton()


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.