|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imemex.datasourceplugins.AbstractDataSourcePlugin
public abstract class AbstractDataSourcePlugin
This abstract implementation of a data source plugin fulfills the following purposes:
| Constructor Summary | |
|---|---|
AbstractDataSourcePlugin()
|
|
| Method Summary | |
|---|---|
void |
close()
Closes this plugin. |
void |
deRegisterDataSource(long dataSourceID)
deregisters a data source at the plugin |
void |
registerDataSource(java.net.URI dataSource,
long dataSourceID)
registers a data source at the plugin. |
void |
subscribeToChangeEvents(long dataSourceID,
PushOperator<Event> subscription)
TODO: post VLDB Subscribes to change events for the given data source (PUSH model). |
boolean |
supportsPull()
Determines whether this implementation supports the PULL model. |
boolean |
supportsPush()
Determines whether this implementation supports the PUSH model. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.imemex.datasourceplugins.DataSourcePlugin |
|---|
allResourceViews, getChangeEvents, getResourceView, getSupportedProtocols, isDataSourceAcyclic, isSchemeSupported, query, queryAfterDate, queryAfterDate |
| Constructor Detail |
|---|
public AbstractDataSourcePlugin()
| Method Detail |
|---|
public final void registerDataSource(java.net.URI dataSource,
long dataSourceID)
throws DataSourceAlreadyExistsException
DataSourcePlugin
registerDataSource in interface DataSourcePluginDataSourceAlreadyExistsException
public final void deRegisterDataSource(long dataSourceID)
throws NoSuchDataSourceException
DataSourcePlugin
deRegisterDataSource in interface DataSourcePluginNoSuchDataSourceException - TODO
public void subscribeToChangeEvents(long dataSourceID,
PushOperator<Event> subscription)
throws NoSuchDataSourceException
DataSourcePlugin
subscribeToChangeEvents in interface DataSourcePluginsubscription - TODO
NoSuchDataSourceException - TODOpublic boolean supportsPull()
DataSourcePlugin
supportsPull in interface DataSourcePluginPullOperatorpublic boolean supportsPush()
DataSourcePlugin
supportsPush in interface DataSourcePluginPushOperatorpublic void close()
DataSourcePlugin
close in interface DataSourcePlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||