Interface ClassConstructorInterrogatorContext
-
public interface ClassConstructorInterrogatorContext
Context for theClassConstructorInterrogator
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<?>
getObjectClass()
Obtains theClass
of object to be constructed for dependency injection.void
setErrorInformation(java.lang.String errorInformation)
Provides optional error information about why aConstructor
was not found.
-
-
-
Method Detail
-
getObjectClass
java.lang.Class<?> getObjectClass()
Obtains theClass
of object to be constructed for dependency injection.- Returns:
Class
of object to be constructed for dependency injection.
-
setErrorInformation
void setErrorInformation(java.lang.String errorInformation)
Provides optional error information about why a
Constructor
was not found.This provides improved feedback to help resolve issue of why a
Constructor
was not selected in interrogation.- Parameters:
errorInformation
- Error information.
-
-