Interface TypeHandlerBinder<T>
public interface TypeHandlerBinder<T>
Bind the given
TypeHandler to an already defined type.-
Method Summary
Modifier and TypeMethodDescriptionvoidwith(com.google.inject.TypeLiteral<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler) Bind the givenTypeHandlerto an already defined type.voidBind the givenTypeHandlerto an already defined type.voidwithProvidedTypeHandler(com.google.inject.TypeLiteral<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler) Bind the givenTypeHandlerto an already defined type.voidwithProvidedTypeHandler(Class<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler) Bind the givenTypeHandlerto an already defined type.
-
Method Details
-
with
-
with
void with(com.google.inject.TypeLiteral<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler) Bind the givenTypeHandlerto an already defined type.- Parameters:
handler- TheTypeHandlerhas to be bound
-
withProvidedTypeHandler
-
withProvidedTypeHandler
void withProvidedTypeHandler(com.google.inject.TypeLiteral<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler) Bind the givenTypeHandlerto an already defined type.- Parameters:
handler- TheTypeHandlerhas to be bound
-