com.funambol.syncclient.spds.engine
Class SyncSourceFactory

java.lang.Object
  extended by com.funambol.syncclient.spds.engine.SyncSourceFactory

public class SyncSourceFactory
extends java.lang.Object

This is a factory for SyncSource objects. Its istantiates the right instance given the source to be used. The it calls the setXXX() method for each property in the source definition properties hashtable.

Version:
$Id: SyncSourceFactory.java,v 1.4 2007-12-22 19:14:00 nichele Exp $

Constructor Summary
SyncSourceFactory(java.lang.String libDir, java.util.Hashtable syncSourcesDefinition)
          Creates a new SyncSourceFactory reading the sync source implementation classes from the given libDirectory and using the given syncSourcesDefinition.
 
Method Summary
 SyncSource getSyncSource(java.lang.String dataStoreName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncSourceFactory

public SyncSourceFactory(java.lang.String libDir,
                         java.util.Hashtable syncSourcesDefinition)
Creates a new SyncSourceFactory reading the sync source implementation classes from the given libDirectory and using the given syncSourcesDefinition.

Parameters:
libDir - directory where classes are looked for
syncSourcesDefinition - sources definitions
Method Detail

getSyncSource

public SyncSource getSyncSource(java.lang.String dataStoreName)
Returns:
syncSource


Copyright © 2010 Funambol. All Rights Reserved.