/** * PUBLIC: * Configure the login to connect through a JDNI managed connection factory and adapter connection spec. */ public void configureConnectionSpec(String jndiName, ConnectionSpec connectionSpec) { EISConnectionSpec spec = new EISConnectionSpec(jndiName); spec.setConnectionSpec(connectionSpec); setConnectionSpec(spec); }
/** * PUBLIC: * Configure the login to connect through a non-managed connection factory and the default getConnection(). */ public void configureConnectionSpec(ConnectionFactory connectionFactory) { EISConnectionSpec spec = new EISConnectionSpec(); spec.setConnectionFactory(connectionFactory); setConnectionSpec(spec); }
/** * PUBLIC: * Configure the login to connect through a non-managed connection factory and adapter connection spec. */ public void configureConnectionSpec(ConnectionFactory connectionFactory, ConnectionSpec connectionSpec) { EISConnectionSpec spec = new EISConnectionSpec(); spec.setConnectionFactory(connectionFactory); spec.setConnectionSpec(connectionSpec); setConnectionSpec(spec); } }
/** * Connect to the EIS adapter and return the Connection. */ public Object connectToDatasource(Accessor accessor, Session session) { return getConnectionSpec().connectToDataSource((EISAccessor)accessor, getProperties()); }
/** * PUBLIC: * Configure the login to connect through a JDNI managed connection factory and the default getConnection(). */ public void configureConnectionSpec(String jndiName) { setConnectionSpec(new EISConnectionSpec(jndiName)); }
/** * Remove a change set after it has been applied. */ public void simpleRemoveChangeSet(Object changeSet) { // check whether the change set was added earlier if (!removeAddedChangeSet(changeSet)) { addRemovedChangeSet(changeSet); } } }
/** * INTERNAL: * Allow the platform to handle the creation of the Record for the DOM record. * By default instantiate an EISDOMRecord which introspects the record for a getDOM method. */ public AbstractRecord createDatabaseRowFromDOMRecord(Record record, EISInteraction call, EISAccessor accessor) { return new EISDOMRecord(record); }
/** * Return the specified "before" move index. */ private int getBeforeMoveIndex(int index) { int[][] pairs = getMoveIndexPairs(); return pairs[index][0]; }
/** * Check if the field is contained in the row. */ public boolean containsKey(DatabaseField key) { return get(key) != null; }
/** * Return and cast the platform. */ public EISPlatform getEISPlatform() { return (EISPlatform)getDatasourcePlatform(); }
/** * PUBLIC: * Configure the login to connect through a non-managed connection factory and adapter connection spec. */ public void configureConnectionSpec(ConnectionFactory connectionFactory, ConnectionSpec connectionSpec) { EISConnectionSpec spec = new EISConnectionSpec(); spec.setConnectionFactory(connectionFactory); spec.setConnectionSpec(connectionSpec); setConnectionSpec(spec); } }
/** * Connect to the EIS adapter and return the Connection. */ public Object connectToDatasource(Accessor accessor, Session session) { return getConnectionSpec().connectToDataSource((EISAccessor)accessor, getProperties()); }
/** * PUBLIC: * Configure the login to connect through a JDNI managed connection factory and adapter connection spec. */ public void configureConnectionSpec(String jndiName, ConnectionSpec connectionSpec) { EISConnectionSpec spec = new EISConnectionSpec(jndiName); spec.setConnectionSpec(connectionSpec); setConnectionSpec(spec); }
/** * PUBLIC: * Configure the login to connect through a non-managed connection factory and the default getConnection(). */ public void configureConnectionSpec(ConnectionFactory connectionFactory) { EISConnectionSpec spec = new EISConnectionSpec(); spec.setConnectionFactory(connectionFactory); setConnectionSpec(spec); }
/** * PUBLIC: * Configure the login to connect through a JDNI managed connection factory and the default getConnection(). */ public void configureConnectionSpec(String jndiName) { setConnectionSpec(new EISConnectionSpec(jndiName)); }
/** * PUBLIC: * Configure the login to connect through a non-managed connection factory and adapter connection spec. */ public void configureConnectionSpec(ConnectionFactory connectionFactory, ConnectionSpec connectionSpec) { EISConnectionSpec spec = new EISConnectionSpec(); spec.setConnectionFactory(connectionFactory); spec.setConnectionSpec(connectionSpec); setConnectionSpec(spec); } }
/** * Connect to the EIS adapter and return the Connection. */ public Object connectToDatasource(Accessor accessor, Session session) { return getConnectionSpec().connectToDataSource((EISAccessor)accessor, getProperties()); }
/** * PUBLIC: * Configure the login to connect through a JDNI managed connection factory and adapter connection spec. */ public void configureConnectionSpec(String jndiName, ConnectionSpec connectionSpec) { EISConnectionSpec spec = new EISConnectionSpec(jndiName); spec.setConnectionSpec(connectionSpec); setConnectionSpec(spec); }
/** * PUBLIC: * Configure the login to connect through a non-managed connection factory and the default getConnection(). */ public void configureConnectionSpec(ConnectionFactory connectionFactory) { EISConnectionSpec spec = new EISConnectionSpec(); spec.setConnectionFactory(connectionFactory); setConnectionSpec(spec); }
/** * PUBLIC: * Configure the login to connect through a JDNI managed connection factory and the default getConnection(). */ public void configureConnectionSpec(String jndiName) { setConnectionSpec(new EISConnectionSpec(jndiName)); }