Package org.int4.dirk.library
Class ProviderTypeRegistrationExtension
- java.lang.Object
-
- org.int4.dirk.library.ProviderTypeRegistrationExtension
-
- All Implemented Interfaces:
TypeRegistrationExtension
public class ProviderTypeRegistrationExtension extends java.lang.Object implements TypeRegistrationExtension
This extension detects if a class implements a method of a provider interface and registers an additional type for the type the provider provides.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.int4.dirk.spi.discovery.TypeRegistrationExtension
TypeRegistrationExtension.Registry
-
-
Constructor Summary
Constructors Constructor Description ProviderTypeRegistrationExtension(java.lang.reflect.Method providerMethod)Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidderiveTypes(TypeRegistrationExtension.Registry registry, java.lang.reflect.Type type)
-
-
-
Method Detail
-
deriveTypes
public void deriveTypes(TypeRegistrationExtension.Registry registry, java.lang.reflect.Type type) throws org.int4.dirk.api.definition.DefinitionException
- Specified by:
deriveTypesin interfaceTypeRegistrationExtension- Throws:
org.int4.dirk.api.definition.DefinitionException
-
-