Package org.mybatis.guice.binder
Interface TypeHandlerBinder<T>
public interface TypeHandlerBinder<T>
Bind the given
TypeHandler
to an already defined type.-
Method Summary
Modifier and TypeMethodDescriptionvoid
with
(com.google.inject.TypeLiteral<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler) Bind the givenTypeHandler
to an already defined type.void
Bind the givenTypeHandler
to an already defined type.void
withProvidedTypeHandler
(com.google.inject.TypeLiteral<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler) Bind the givenTypeHandler
to an already defined type.void
withProvidedTypeHandler
(Class<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler) Bind the givenTypeHandler
to an already defined type.
-
Method Details
-
with
Bind the givenTypeHandler
to an already defined type.- Parameters:
handler
- TheTypeHandler
has to be bound
-
with
void with(com.google.inject.TypeLiteral<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler) Bind the givenTypeHandler
to an already defined type.- Parameters:
handler
- TheTypeHandler
has to be bound
-
withProvidedTypeHandler
void withProvidedTypeHandler(Class<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler) Bind the givenTypeHandler
to an already defined type.- Parameters:
handler
- TheTypeHandler
has to be bound
-
withProvidedTypeHandler
void withProvidedTypeHandler(com.google.inject.TypeLiteral<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler) Bind the givenTypeHandler
to an already defined type.- Parameters:
handler
- TheTypeHandler
has to be bound
-