Class DependencyClassConstructorInterrogator
java.lang.Object
net.officefloor.plugin.clazz.constructor.impl.DependencyClassConstructorInterrogator
- All Implemented Interfaces:
ServiceFactory<ClassConstructorInterrogator>,ClassConstructorInterrogator,ClassConstructorInterrogatorServiceFactory
public class DependencyClassConstructorInterrogator
extends Object
implements ClassConstructorInterrogator, ClassConstructorInterrogatorServiceFactory
- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateService(ServiceContext context) Creates the service.Constructor<?>Interrogates for theConstructor.
-
Constructor Details
-
DependencyClassConstructorInterrogator
public DependencyClassConstructorInterrogator()
-
-
Method Details
-
createService
Description copied from interface:ServiceFactoryCreates the service.- Specified by:
createServicein interfaceServiceFactory<ClassConstructorInterrogator>- Parameters:
context-ServiceContext.- Returns:
- Service.
- Throws:
Throwable- If fails to create the service.
-
interrogate
Description copied from interface:ClassConstructorInterrogatorInterrogates for theConstructor.- Specified by:
interrogatein interfaceClassConstructorInterrogator- Parameters:
context-ClassConstructorInterrogatorContext.- Returns:
Constructor. Should benullto allow anotherClassConstructorInterrogatorto find theConstructor.- Throws:
Exception- If fails to interrogate.
-