|Constructor and Description|
|Modifier and Type||Method and Description|
Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).
Setter for a Map of
public void setTranslators(Map<String,SQLExceptionTranslator> translators)
SQLExceptionTranslatorreferences where the key must be the database name as defined in the
Note that any existing translators will remain unless there is a match in the database name, at which point the new translator will replace the existing one.
public void afterPropertiesSet()
This method allows the bean instance to perform initialization only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.