Interface to be implemented by connectors that need to normalize certain attributes.
Encapsulates the configuration of a connector.
This is the main interface to declare a connector.
To be implemented by connectors that wish to be pooled.
Convenient base-class for Configuration objects to extend.
This annotation must be present on each connector class.
Connectordeveloper is responsible for implementing the following interfaces to build a
Configuration.validate()method is used to determine whether the configuration information that has been provided is valid. The implementation should simply be a Java Bean. There should be a getter and setter for each configuration property. For instance, if the resource is a database instance then some typical configuration information would include the JDBC driver, the host name of remote machine or the URL, and some connection credentials. The getter should return the default value.
Connectorinterface. This interface insures proper initialization and disposal of the
Connector. If the
Connectordeveloper would like the API to handle 'Connection Pooling', the Connector must implement the
has many operations from which to choose. In some cases, one operation does the same thing as another
but exposes more options. For instance there are two update operations.
UpdateOp is simpler to implement than
Copyright © 2013. All Rights Reserved.