com.google.inject.assistedinject
Interface AssistedMethod


public interface AssistedMethod

Details about how a method in an assisted inject factory will be assisted.

Since:
3.0
Author:
ramakrishna@google.com (Ramakrishna Rajanna)

Method Summary
 Set<Dependency<?>> getDependencies()
          Returns all non-assisted dependencies required to construct and inject the implementation.
 Method getFactoryMethod()
          Returns the factory method that is being assisted.
 Constructor<?> getImplementationConstructor()
          Returns the constructor that will be used to construct instances of the implementation.
 TypeLiteral<?> getImplementationType()
          Returns the implementation type that will be created when the method is used.
 

Method Detail

getFactoryMethod

Method getFactoryMethod()
Returns the factory method that is being assisted.


getImplementationType

TypeLiteral<?> getImplementationType()
Returns the implementation type that will be created when the method is used.


getImplementationConstructor

Constructor<?> getImplementationConstructor()
Returns the constructor that will be used to construct instances of the implementation.


getDependencies

Set<Dependency<?>> getDependencies()
Returns all non-assisted dependencies required to construct and inject the implementation.



Copyright © 2006-2011 Google, Inc.. All Rights Reserved.