See: Description
Interface | Description |
---|---|
AttributeNormalizer |
Interface to be implemented by connectors that need to normalize certain
attributes.
|
Configuration |
Encapsulates the configuration of a connector.
|
Connector |
This is the main interface to declare a connector.
|
PoolableConnector |
To be implemented by connectors that wish to be pooled.
|
SearchResultsHandler |
A SearchResultsHandler is a completion handler for consuming the results of a
search request.
|
StatefulConfiguration |
A Stateful Configuration interface extends the default
Configuration
and makes the framework keep the same instance. |
SyncTokenResultsHandler |
A SyncTokenResultsHandler is a Callback interface that an application
implements in order to handle results from
SyncApiOp in a
stream-processing fashion. |
Class | Description |
---|---|
AbstractConfiguration |
Convenient base-class for Configuration objects to extend.
|
Annotation Type | Description |
---|---|
ConfigurationClass |
The
Configuration interface is traversed through reflection. |
ConfigurationProperty |
The
Configuration interface is traversed through reflection. |
ConnectorClass |
This annotation must be present on each connector class.
|
Connector
developer
is responsible for implementing the following interfaces to build a Connector
.
Configuration
interface.
The 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.
Connector
interface.
This interface insures proper initialization and disposal of the Connector
.
If the Connector
developer would like the API to handle 'Connection Pooling',
the Connector must implement the PoolableConnector
interface.
CreateOp
,
UpdateOp
,
DeleteOp
,
SearchOp
, etc..
The operations
package
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
UpdateAttributeValuesOp
.
Copyright © 2019. All rights reserved.