@Override public C getConnection(F factory, ExecutionContext executionContext) throws TranslatorException { return delegate.getConnection(factory, executionContext); }
/** * Return a connection object from the given connection factory. * * The default implementation assumes a JCA {@link ConnectionFactory}. Subclasses should override, if they use * another type of connection factory or wish to use the {@link ExecutionContext}. By default calls {@link #getConnection(Object)} * * @param factory * @param executionContext null if this is a system request for a connection * @return a connection * @throws TranslatorException */ public C getConnection(F factory, ExecutionContext executionContext) throws TranslatorException { return getConnection(factory); }
Object connection = null; try { connection = executionFactory.getConnection(connectionFactory, null); } catch (Throwable e) {
Object connection = null; try { connection = executionFactory.getConnection(connectionFactory, null); } catch (Throwable e) {
Object connection = null; try { connection = executionFactory.getConnection(connectionFactory, null); } catch (Throwable e) {
connection = translator.getConnection(connectionFactory, null);
connection = translator.getConnection(connectionFactory, null);
connection = translator.getConnection(connectionFactory, null);
this.connection = this.connector.getConnection(this.connectionFactory, securityContext);
this.connection = this.connector.getConnection(this.connectionFactory, securityContext);
this.connection = this.connector.getConnection(this.connectionFactory, securityContext);