Interface ClassConstructorInterrogatorContext
public interface ClassConstructorInterrogatorContext
Context for the
ClassConstructorInterrogator.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>Obtains theClassof object to be constructed for dependency injection.voidsetErrorInformation(String errorInformation) Provides optional error information about why aConstructorwas not found.
-
Method Details
-
getObjectClass
Class<?> getObjectClass()Obtains theClassof object to be constructed for dependency injection.- Returns:
Classof object to be constructed for dependency injection.
-
setErrorInformation
Provides optional error information about why a
Constructorwas not found.This provides improved feedback to help resolve issue of why a
Constructorwas not selected in interrogation.- Parameters:
errorInformation- Error information.
-