Package org.int4.dirk.core.definition
Interface GenericBindingProvider.BindingFactory<B>
-
- Type Parameters:
B- the type of the binding class
- Enclosing class:
- GenericBindingProvider<B>
public static interface GenericBindingProvider.BindingFactory<B>Factory for creating bindings that have been found.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Bcreate(java.lang.reflect.Type type, java.lang.reflect.AnnotatedElement annotatedElement)Creates a binding of typeB.
-
-
-
Method Detail
-
create
B create(java.lang.reflect.Type type, java.lang.reflect.AnnotatedElement annotatedElement) throws DefinitionException
Creates a binding of typeB.- Parameters:
type- aType, nevernullannotatedElement- anAnnotatedElement, can benull- Returns:
- a binding of type
B, nevernull - Throws:
DefinitionException- when a definition problem is encountered
-
-