public interface DataProvider
| Modifier and Type | Method and Description |
|---|---|
boolean |
configValidator(ProviderConfig providerConfig)
Provider configuration validator.
|
DataProvider |
init(String sessionID,
ProviderConfig providerConfig)
Initialize the instance with the session id.
|
void |
start()
Start pushing data to the client from the data sources.
|
void |
stop()
Stop pushing data to the client and disconnect.
|
DataProvider init(String sessionID, ProviderConfig providerConfig) throws DataProviderException
sessionID - Session id of the session associated with the connection.DataProviderExceptionvoid start()
void stop()
boolean configValidator(ProviderConfig providerConfig) throws DataProviderException
providerConfig - provider configuration get from the client.DataProviderException - if the validation failed due to exception.Copyright © 2017 WSO2. All rights reserved.