Interface BindingTargetFactory

    • Method Detail

      • canCreate

        boolean canCreate​(Class<?> clazz)
        Checks whether a specific binding target type can be created by this factory.
        Parameters:
        clazz - the binding target type
        Returns:
        true if the binding target can be created
      • createInput

        Object createInput​(String name)
        Create an input binding target that will be bound via a corresponding Binder.
        Parameters:
        name - name of the binding target
        Returns:
        binding target
      • createOutput

        Object createOutput​(String name)
        Create an output binding target that will be bound via a corresponding Binder.
        Parameters:
        name - name of the binding target
        Returns:
        binding target