For IntelliJ IDEA,
Android Studio or Eclipse



@Override public void doStart() throws Exception { super.doStart(); if (validatingTask != null) { TIMER.schedule(validatingTask, validationInterval, validationInterval); } }
@Override public void doStart() throws Exception { super.doStart(); if (validatingTask != null) { TIMER.schedule(validatingTask, validationInterval, validationInterval); } }
public Object getObject() throws Exception { if (connectionManager == null) { if (transactionManager == null) { throw new NullPointerException("transactionManager is null"); } // Instanciate the Geronimo Connection Manager this.connectionManager = new GenericConnectionManager( transactionSupport, poolingSupport, subjectSource, connectionTracker, transactionManager, getClass().getName(), getClass().getClassLoader()); connectionManager.doStart(); } return connectionManager; }
_connectionManager.doStart(); _datasource = (DataSource) mcf.createConnectionFactory(_connectionManager); } catch (Exception ex) {