@Override public Object getObject() throws Exception { // in case spring-dm calls getObject before this bean has been initialized if (pooledConnectionFactory == null) { afterPropertiesSet(); } return pooledConnectionFactory; }
/** * JSR-250 callback wrapper; converts checked exceptions to runtime exceptions * * delegates to destroy, done to prevent backwards incompatible signature change. */ @PreDestroy private void preDestroy() { try { destroy(); } catch (Exception ex) { throw new RuntimeException(ex); } }
/** * JSR-250 callback wrapper; converts checked exceptions to runtime exceptions * * delegates to destroy, done to prevent backwards incompatible signature change. */ @PreDestroy private void preDestroy() { try { destroy(); } catch (Exception ex) { throw new RuntimeException(ex); } }
@Override public Object getObject() throws Exception { // in case spring-dm calls getObject before this bean has been initialized if (pooledConnectionFactory == null) { afterPropertiesSet(); } return pooledConnectionFactory; }
/** * JSR-250 callback wrapper; converts checked exceptions to runtime exceptions * * delegates to destroy, done to prevent backwards incompatible signature change. */ @PreDestroy private void preDestroy() { try { destroy(); } catch (Exception ex) { throw new RuntimeException(ex); } }
@Override public Object getObject() throws Exception { // in case spring-dm calls getObject before this bean has been initialized if (pooledConnectionFactory == null) { afterPropertiesSet(); } return pooledConnectionFactory; }
/** * JSR-250 callback wrapper; converts checked exceptions to runtime exceptions * * delegates to afterPropertiesSet, done to prevent backwards incompatible signature change. */ @PostConstruct private void postConstruct() { try { afterPropertiesSet(); } catch (Exception ex) { throw new RuntimeException(ex); } }
/** * JSR-250 callback wrapper; converts checked exceptions to runtime exceptions * * delegates to afterPropertiesSet, done to prevent backwards incompatible signature change. */ @PostConstruct private void postConstruct() { try { afterPropertiesSet(); } catch (Exception ex) { throw new RuntimeException(ex); } }
/** * JSR-250 callback wrapper; converts checked exceptions to runtime exceptions * * delegates to afterPropertiesSet, done to prevent backwards incompatible signature change. */ @PostConstruct private void postConstruct() { try { afterPropertiesSet(); } catch (Exception ex) { throw new RuntimeException(ex); } }