public class BeanMapperFactory extends Object implements ResultSetMapperFactory
Constructor and Description |
---|
BeanMapperFactory() |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Class type,
StatementContext ctx)
Can this factory provide a result set mapper which maps to the desired type
|
ResultSetMapper |
mapperFor(Class type,
StatementContext ctx)
Supplies a result set mapper which will map result sets to type
|
public boolean accepts(Class type, StatementContext ctx)
ResultSetMapperFactory
accepts
in interface ResultSetMapperFactory
type
- the target type to map topublic ResultSetMapper mapperFor(Class type, StatementContext ctx)
ResultSetMapperFactory
mapperFor
in interface ResultSetMapperFactory
Copyright © 2018. All rights reserved.