@Test(groups = { "integration" }) public void testInit() { OracleConnector oc = createTestConnector(); oc.dispose(); oc = new OracleConnector(); OracleConfiguration cfg = new OracleConfiguration(); try { oc.init(cfg); Assert.fail("Init should fail for uncomplete cfg"); } catch (RuntimeException e) { } }
public void init(Configuration cfg) { this.cfg = (OracleConfiguration) cfg; cfg.validate(); }
OracleConnector implements PoolableConnector, AuthenticateOp, CreateOp,
        DeleteOp, UpdateOp, UpdateAttributeValuesOp, SearchOp<Pair<String, FilterWhereBuilder>>,
        SchemaOp, TestOp, AttributeNormalizer { public void init(Configuration cfg) { this.cfg = (OracleConfiguration) cfg; cfg.validate(); } }
OracleConnector implements PoolableConnector, AuthenticateOp, CreateOp,
        DeleteOp, UpdateOp, UpdateAttributeValuesOp, SearchOp<Pair<String, FilterWhereBuilder>>,
        SchemaOp, TestOp, AttributeNormalizer { public void init(Configuration cfg) { this.cfg = (OracleConfiguration) cfg; cfg.validate(); }  }
OracleConnector implements PoolableConnector, AuthenticateOp, CreateOp,
        DeleteOp, UpdateOp, UpdateAttributeValuesOp, SearchOp<Pair<String, FilterWhereBuilder>>,
        SchemaOp, TestOp, AttributeNormalizer { public void init(Configuration cfg) { this.cfg = (OracleConfiguration) cfg; cfg.validate(); }  void checkAlive(); void dispose(); OracleConfiguration getConfiguration(); void init(Configuration cfg); void test(); Uid authenticate(ObjectClass objectClass, String username, GuardedString password,
            OperationOptions options); void delete(ObjectClass objClass, Uid uid, OperationOptions options); Uid create(ObjectClass oclass, Set<Attribute> attrs, OperationOptions options); Uid update(ObjectClass objclass, Uid uid, Set<Attribute> attrs, OperationOptions options); Uid addAttributeValues(ObjectClass objclass, Uid uid, Set<Attribute> valuesToAdd,
            OperationOptions options); Uid removeAttributeValues(ObjectClass objclass, Uid uid, Set<Attribute> valuesToRemove,
            OperationOptions options); FilterTranslator<Pair<String, FilterWhereBuilder>> createFilterTranslator(
            ObjectClass oclass, OperationOptions options); void executeQuery(ObjectClass oclass, Pair<String, FilterWhereBuilder> pair,
            ResultsHandler handler, OperationOptions options); Schema schema(); Attribute normalizeAttribute(ObjectClass oclass, Attribute attribute); }
OracleConnector implements PoolableConnector, AuthenticateOp, CreateOp,
        DeleteOp, UpdateOp, UpdateAttributeValuesOp, SearchOp<Pair<String, FilterWhereBuilder>>,
        SchemaOp, TestOp, AttributeNormalizer { public void init(Configuration cfg) { this.cfg = (OracleConfiguration) cfg; cfg.validate(); }  void checkAlive(); void dispose(); OracleConfiguration getConfiguration(); void init(Configuration cfg); void test(); Uid authenticate(ObjectClass objectClass, String username, GuardedString password,
            OperationOptions options); void delete(ObjectClass objClass, Uid uid, OperationOptions options); Uid create(ObjectClass oclass, Set<Attribute> attrs, OperationOptions options); Uid update(ObjectClass objclass, Uid uid, Set<Attribute> attrs, OperationOptions options); Uid addAttributeValues(ObjectClass objclass, Uid uid, Set<Attribute> valuesToAdd,
            OperationOptions options); Uid removeAttributeValues(ObjectClass objclass, Uid uid, Set<Attribute> valuesToRemove,
            OperationOptions options); FilterTranslator<Pair<String, FilterWhereBuilder>> createFilterTranslator(
            ObjectClass oclass, OperationOptions options); void executeQuery(ObjectClass oclass, Pair<String, FilterWhereBuilder> pair,
            ResultsHandler handler, OperationOptions options); Schema schema(); Attribute normalizeAttribute(ObjectClass oclass, Attribute attribute);  }