Package org.mybatis.guice.binder
Interface TypeHandlerBinder<T>
-
public interface TypeHandlerBinder<T>
Bind the givenTypeHandler
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 givenTypeHandler
to an already defined type.void
with(Class<? extends org.apache.ibatis.type.TypeHandler<? extends T>> handler)
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 Detail
-
with
void with(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
-
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
-
-