Note that there is hardly any need to implement this callback interface, as JndiTemplate provides all usual JNDI operations via convenience methods.
JndiTemplate, org.springframework.jdbc.core.JdbcTemplate
| Modifier and Type | Method and Description |
|---|---|
| public T | Returns: a result object, ornullthe current JNDI context ctx)Do something with the given JNDI context. |
| doInContext | back to summary |
|---|---|
| public T doInContext(Context ctx) throws NamingException Do something with the given JNDI context. Implementations don't need to worry about error handling or cleanup, as the JndiTemplate class will handle this.
| |