Class QualifierTypeQualifierInterrogator
- java.lang.Object
-
- net.officefloor.plugin.clazz.qualifier.impl.QualifierTypeQualifierInterrogator
-
- All Implemented Interfaces:
ServiceFactory<TypeQualifierInterrogator>
,TypeQualifierInterrogator
,TypeQualifierInterrogatorServiceFactory
public class QualifierTypeQualifierInterrogator extends java.lang.Object implements TypeQualifierInterrogator, TypeQualifierInterrogatorServiceFactory
TypeQualifierInterrogator
for theQualifier
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description QualifierTypeQualifierInterrogator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeQualifierInterrogator
createService(ServiceContext context)
Creates the service.java.lang.String
interrogate(TypeQualifierInterrogatorContext context)
Interrogates for the type qualifier.
-
-
-
Method Detail
-
createService
public TypeQualifierInterrogator createService(ServiceContext context) throws java.lang.Throwable
Description copied from interface:ServiceFactory
Creates the service.- Specified by:
createService
in interfaceServiceFactory<TypeQualifierInterrogator>
- Parameters:
context
-ServiceContext
.- Returns:
- Service.
- Throws:
java.lang.Throwable
- If fails to create the service.
-
interrogate
public java.lang.String interrogate(TypeQualifierInterrogatorContext context) throws java.lang.Exception
Description copied from interface:TypeQualifierInterrogator
Interrogates for the type qualifier.- Specified by:
interrogate
in interfaceTypeQualifierInterrogator
- Parameters:
context
-TypeQualifierInterrogatorContext
.- Returns:
- Type qualifier if can determine. Otherwise,
null
to allow otherTypeQualifierInterrogator
to determine. - Throws:
java.lang.Exception
- If fails to interrogate.
-
-