org.elasticsearch.common.inject.internal
Interface InternalFactory<T>


public interface InternalFactory<T>

Creates objects which will be injected.

Author:
crazybob@google.com (Bob Lee)

Method Summary
 T get(Errors errors, InternalContext context, Dependency<?> dependency)
          Creates an object to be injected.
 

Method Detail

get

T get(Errors errors,
      InternalContext context,
      Dependency<?> dependency)
      throws ErrorsException
Creates an object to be injected.

Parameters:
context - of this injection
Returns:
instance to be injected
Throws:
ErrorsException - if a value cannot be provided


Copyright © 2009-2012. All Rights Reserved.