/** * PUBLIC: * Set the javax.resource.cci.ConnectionSpec. * This is only required if the default getConnection() on the connection factory is not used. * This must be set to the EIS adapter specific connection spec. */ public void setConnectionSpecObject(Object connectionFactory) { setConnectionSpec((ConnectionSpec)connectionFactory); }
/** * PUBLIC: * Set the javax.resource.cci.ConnectionSpec. * This is only required if the default getConnection() on the connection factory is not used. * This must be set to the EIS adapter specific connection spec. */ public void setConnectionSpecObject(Object connectionFactory) { setConnectionSpec((ConnectionSpec)connectionFactory); }
/** * 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 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 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 adapter connection spec. */ public void configureConnectionSpec(ConnectionFactory connectionFactory, ConnectionSpec connectionSpec) { EISConnectionSpec spec = new EISConnectionSpec(); spec.setConnectionFactory(connectionFactory); spec.setConnectionSpec(connectionSpec); 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); } }
/** * 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); } }