public interface DataFederatorService
| Modifier and Type | Method and Description |
|---|---|
void |
closeServerConnection()
Closes the connection to the Data Federator Query Server.
|
void |
deploy(ConnectionShortcut connection,
java.lang.String catalog)
Deploys the connection to the Data Federator Query Server.
|
java.lang.String |
getCatalog(ConnectionShortcut connection)
Retrieves the catalog of the provided connection.
|
void |
undeploy(java.lang.String catalog)
Unregisters the connection from the Data Federator Query Server.
|
java.lang.String getCatalog(ConnectionShortcut connection)
A catalog identifies a connection in the Data Federator Query Server. The catalog is unique for a connection in the CMS.
A connection to the Data Federator Query Server can be open if needed, but not closed.
The connection can be loaded using LocalResourceService.load(String).
connection - Only RelationalConnectionShortcut and
DataFederatorConnectionShortcut are supportednull if the connection is not deployed to the Data Federator Query Serverdeploy(ConnectionShortcut, String),
undeploy(String),
closeServerConnection()void deploy(ConnectionShortcut connection, java.lang.String catalog)
The user must have a download right on the connection.
The connection can be loaded using LocalResourceService.load(String).
connection - Only RelationalConnectionShortcut and
DataFederatorConnectionShortcut are supportedcatalog - A nonempty stringgetCatalog(ConnectionShortcut),
closeServerConnection()void undeploy(java.lang.String catalog)
catalog - A nonempty stringvoid closeServerConnection()
The connection closes when the SlContext is closed.
It does not close the enterprise session.
getCatalog(ConnectionShortcut),
deploy(ConnectionShortcut, String)