- Type Parameters:
T
- The type this ExternalConstructor will create.
- All Known Implementing Classes:
- DefaultClientConstructor, ExecutorServiceConstructor, FSCheckPointServiceConfiguration.FileSystemConstructor, HDFSConfigurationConstructor, InputFormatExternalConstructor, InputSplitExternalConstructor, JobConfExternalConstructor, UnsafeClientConstructor, ValidateConfiguration.FileParser, YarnConfigurationConstructor
public interface ExternalConstructor<T>
This interface allows legacy classes to be injected by
ConfigurationBuilderImpl. To be of any use, implementations of this class
must have at least one constructor with an @Inject annotation. From
ConfigurationBuilderImpl's perspective, an ExternalConstructor class is just
a special instance of the class T, except that, after injection an
ExternalConstructor, ConfigurationBuilderImpl will call newInstance, and
store the resulting object. It will then discard the ExternalConstructor.