public void thawDatabase(String profileId) {
ApplicationContext ctx = profileInstanceManagers.get(profileId);
DerbyPooledDataSource dataSource = (DerbyPooledDataSource) ctx
.getBean(DATA_SOURCE_BEAN_NAME);
try {
dataSource.thaw();
//CHECKSTYLE:OFF no choice here - the datasource throws Exception
} catch (Exception ex) {
// CHECKSTYLE:ON
Logger.getLogger(SpringProfileInstanceFactory.class.getName()).log(Level.SEVERE, null, ex);
}