Like what you see? Have a play with our trial version.

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

 

A connector DataSource is an implementation of the abstract java class AbstractDataSource. When defining a DataSource the following functions require implementation: 

     public abstract String getDataSourceName(); 
public abstract Collection<AbstractDataSet> getDataSets();
public abstract JDBCMetaData getDataSourceMetaData();
public abstract boolean authenticate() throws Exception;
public abstract void disconnect();
public abstract Map<String, Object> testConnection() throws Exception

 

The following functions can optionally be overwritten: 

     public ScheduleDefinition getScheduleDefinition(); 
public boolean autoRun() { return true; };

 

The following functions are available as utility functions: 

 

     protected final byte[] loadBlob(String key); 
protected final boolean saveBlob(String key, byte[] data);
protected final boolean areBlobsAvailable();
public final Object getAttribute(String key);
public final Integer getSourceId();

 

 

 

  • No labels