com.google.inject
Class ProviderMethods

java.lang.Object
  extended by com.google.inject.ProviderMethods

public class ProviderMethods
extends Object

Creates bindings to methods annotated with Provides. Use the scope and binding annotations on the provider method to configure the binding.


Constructor Summary
ProviderMethods()
           
 
Method Summary
static Module from(Object providers)
          Returns a module which creates bindings for provider methods from the given object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderMethods

public ProviderMethods()
Method Detail

from

public static Module from(Object providers)
Returns a module which creates bindings for provider methods from the given object.