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