Interface ClassConstructorInterrogatorServiceFactory
-
- All Superinterfaces:
ServiceFactory<ClassConstructorInterrogator>
- All Known Implementing Classes:
DependencyClassConstructorInterrogator
public interface ClassConstructorInterrogatorServiceFactory extends ServiceFactory<ClassConstructorInterrogator>
- Author:
- Daniel Sagenschneider
-
-
Method Summary
Static Methods Modifier and Type Method Description static java.lang.reflect.Constructor<?>
extractConstructor(java.lang.Class<?> objectClass, SourceContext sourceContext)
Extracts theConstructor
.-
Methods inherited from interface net.officefloor.frame.api.source.ServiceFactory
createService
-
-
-
-
Method Detail
-
extractConstructor
static java.lang.reflect.Constructor<?> extractConstructor(java.lang.Class<?> objectClass, SourceContext sourceContext) throws java.lang.Exception
Extracts theConstructor
.- Parameters:
objectClass
-Class
of object to inject dependencies.sourceContext
-SourceContext
.- Returns:
Constructor
.- Throws:
java.lang.Exception
- If fails to extract theConstructor
.
-
-