net.simplace.sim.io.sync.FWSimSyncManager
With the resources part of the main configuration xml the resources are instantiated
Singleton implementation
Holds different resources for the model threads as net.simplace.sim.io.resources.FWSimResourceCache
Ensures the efficient use of the resources
Presents data via Objects
Able to abstract data access format as
Database via SQL
Excel (csv)
XML
Uses File Access Pool and Connection Pool via IO Interfaces
public class FWSimSyncManager {
// Public Constructors
public FWSimSyncManager();
// Public Instance Methods public HashMap createVariables();
calls all createVariable methods on all resourceCreators and
returns the field map of all these
public void
sync(Map aVarMapsContainer);
public
FWSimSyncAdapter getSyncAdapter(String aSourceName);
returns the selected {@link FWSimResourceCache}
public Collection getSyncAdapters();
returns all the resource creators
public void reset() throws Exception;
}
Returned by: net.simplace.sim.FWSimSession.getSyncManager()