Class AbstractBindingTargetFactory<T>

    • Constructor Detail

      • AbstractBindingTargetFactory

        protected AbstractBindingTargetFactory​(Class<T> bindingTargetType)
    • Method Detail

      • canCreate

        public final boolean canCreate​(Class<?> clazz)
        Description copied from interface: BindingTargetFactory
        Checks whether a specific binding target type can be created by this factory.
        Specified by:
        canCreate in interface BindingTargetFactory
        Parameters:
        clazz - the binding target type
        Returns:
        true if the binding target can be created
      • createInput

        public abstract T createInput​(String name)
        Description copied from interface: BindingTargetFactory
        Create an input binding target that will be bound via a corresponding Binder.
        Specified by:
        createInput in interface BindingTargetFactory
        Parameters:
        name - name of the binding target
        Returns:
        binding target
      • createOutput

        public abstract T createOutput​(String name)
        Description copied from interface: BindingTargetFactory
        Create an output binding target that will be bound via a corresponding Binder.
        Specified by:
        createOutput in interface BindingTargetFactory
        Parameters:
        name - name of the binding target
        Returns:
        binding target