Package org.int4.dirk.spi.discovery
Interface TypeRegistrationExtension.Registry
-
- Enclosing interface:
- TypeRegistrationExtension
public static interface TypeRegistrationExtension.RegistryAllows registration of newly derived types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(java.lang.reflect.Field field, java.lang.reflect.Type ownerType)Adds a derived type given aFieldand the field's ownerType.voidadd(java.lang.reflect.Method method, java.lang.reflect.Type ownerType)Adds a derived type given aMethodand the method's ownerType.voidadd(java.lang.reflect.Type type)Adds a derived type given aType.
-
-
-
Method Detail
-
add
void add(java.lang.reflect.Field field, java.lang.reflect.Type ownerType) throws DefinitionExceptionAdds a derived type given aFieldand the field's ownerType.- Parameters:
field- aField, cannot benullownerType- an ownerType, cannot benull- Throws:
DefinitionException- when a definition problem was encountered during registration
-
add
void add(java.lang.reflect.Method method, java.lang.reflect.Type ownerType) throws DefinitionExceptionAdds a derived type given aMethodand the method's ownerType.- Parameters:
method- aMethod, cannot benullownerType- an ownerType, cannot benull- Throws:
DefinitionException- when a definition problem was encountered during registration
-
add
void add(java.lang.reflect.Type type) throws DefinitionException
Adds a derived type given aType.- Parameters:
type- aTypeto add, cannot benull- Throws:
DefinitionException- when a definition problem was encountered during registration
-
-