public interface Connector
Connector is as follows
init(Configuration) is called then any of the operations implemented
in the Connector and finally dispose. The init(Configuration) and
dispose() allow for block operations. For instance bulk creates or
deletes and the use of before and after actions. Once dispose() is
called the Connector object is discarded.| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Dispose of any resources the
Connector uses. |
Configuration |
getConfiguration()
Return the configuration that was passed to
init(Configuration). |
void |
init(Configuration cfg)
Initialize the connector with its configuration.
|
Configuration getConfiguration()
init(Configuration).init(Configuration).void init(Configuration cfg)
Connector this would include the database URL, password, and
user.cfg - instance of the Configuration object implemented by
the Connector developer and populated with information
in order to initialize the Connector.void dispose()
Connector uses.Copyright © 2022. All rights reserved.