Interface TypeHandlerBinder<T>


  • public interface TypeHandlerBinder<T>
    Bind the given TypeHandler to an already defined type.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void with​(com.google.inject.TypeLiteral<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler)
      Bind the given TypeHandler to an already defined type.
      void with​(Class<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler)
      Bind the given TypeHandler to an already defined type.
      void withProvidedTypeHandler​(com.google.inject.TypeLiteral<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler)
      Bind the given TypeHandler to an already defined type.
      void withProvidedTypeHandler​(Class<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler)
      Bind the given TypeHandler to an already defined type.
    • Method Detail

      • with

        void with​(Class<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler)
        Bind the given TypeHandler to an already defined type.
        Parameters:
        handler - The TypeHandler has to be bound
      • with

        void with​(com.google.inject.TypeLiteral<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler)
        Bind the given TypeHandler to an already defined type.
        Parameters:
        handler - The TypeHandler has to be bound
      • withProvidedTypeHandler

        void withProvidedTypeHandler​(Class<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler)
        Bind the given TypeHandler to an already defined type.
        Parameters:
        handler - The TypeHandler has to be bound
      • withProvidedTypeHandler

        void withProvidedTypeHandler​(com.google.inject.TypeLiteral<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler)
        Bind the given TypeHandler to an already defined type.
        Parameters:
        handler - The TypeHandler has to be bound