Wikis - Page

1. Writing a New Connector

0 Likes

If you don’t find a connector for your repository on the Borland Community then you can implement your own using the Java connector API.

Each connector is responsible for executing operations to:
  • Connect to the repository.
  • Query the repository for items based on a given query/criteria.
  • Fetch, Insert, Delete and Update items within the repository.
Every connector is composed of the following two class implementations for executing the above operations:
 
  • DataPool.java – contains methods for querying the repository for items to synchronize.

  • SyncItem.java – in memory representation of each item, including methods for getting and setting the item data.

Comment List
Related
Recommended