@Override protected AbstractConnectionService createConnectionService ( final DriverFactory factory, final ConnectionInformation connectionInformation ) { final Connection connection = (Connection)factory.getDriverInformation ( connectionInformation ).create ( connectionInformation ); if ( connection == null ) { return null; } return new ConnectionServiceImpl ( connection, 10000, false ); }
@Override protected AbstractConnectionService createConnectionService ( final DriverFactory factory, final ConnectionInformation connectionInformation ) { final Connection connection = (Connection)factory.getDriverInformation ( connectionInformation ).create ( connectionInformation ); if ( connection == null ) { return null; } return new ConnectionServiceImpl ( connection, 10000, false ); }
@Override protected AbstractConnectionService createConnection () { logger.debug ( "Creating new AE connection: {}", getConnectionInformation () ); final Connection connection = (Connection)getFactory ().getDriverInformation ( getConnectionInformation () ).create ( getConnectionInformation () ); if ( connection == null ) { return null; } return new ConnectionServiceImpl ( connection, getAutoReconnectDelay () ); }
protected AbstractConnectionService createConnection () { logger.debug ( "Create new HD connection: {}", getConnectionInformation () ); final Connection connection = (Connection)getFactory ().getDriverInformation ( getConnectionInformation () ).create ( getConnectionInformation () ); if ( connection == null ) { logger.warn ( "Failed to create new HD connection: {}", getConnectionInformation () ); return null; } return new ConnectionServiceImpl ( connection, getAutoReconnectDelay () ); }
@Override protected AbstractConnectionService createConnection () { logger.debug ( "Creating new DA connection: {}", getConnectionInformation () ); final Connection connection = (Connection)getFactory ().getDriverInformation ( getConnectionInformation () ).create ( getConnectionInformation () ); if ( connection == null ) { return null; } return new ConnectionServiceImpl ( connection, getAutoReconnectDelay (), false ); }
@Override protected AbstractConnectionService createConnection () { logger.debug ( "Creating new DA connection: {}", getConnectionInformation () ); final Connection connection = (Connection)getFactory ().getDriverInformation ( getConnectionInformation () ).create ( getConnectionInformation () ); if ( connection == null ) { return null; } return new ConnectionServiceImpl ( connection, getAutoReconnectDelay (), false ); }
@Override protected AbstractConnectionService createConnection () { logger.debug ( "Creating new AE connection: {}", getConnectionInformation () ); final Connection connection = (Connection)getFactory ().getDriverInformation ( getConnectionInformation () ).create ( getConnectionInformation () ); if ( connection == null ) { return null; } return new ConnectionServiceImpl ( connection, getAutoReconnectDelay () ); }