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
      B create​(java.lang.reflect.Type type, java.lang.reflect.AnnotatedElement annotatedElement)
      Creates a binding of type B.
    • Method Detail

      • create

        B create​(java.lang.reflect.Type type,
                 java.lang.reflect.AnnotatedElement annotatedElement)
          throws org.int4.dirk.api.definition.DefinitionException
        Creates a binding of type B.
        Parameters:
        type - a Type, never null
        annotatedElement - an AnnotatedElement, can be null
        Returns:
        a binding of type B, never null
        Throws:
        org.int4.dirk.api.definition.DefinitionException - when a definition problem is encountered