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