Just reading up on spring's data access, and it has something like this:
jdbcTemplate.query(someSql,
new Object[] { 1 },
new RowMapper() {
public Object mapRow(ResultSet rs, int rowNum) ...
Blah blah = new Blah();
blah.setId( rs.getInt(1));
}
I'm referring to the public Object mapRow part.
is this a inline class, or a callback? (or something else)