Class OMAGServerAdminStoreServices
- java.lang.Object
-
- org.odpi.openmetadata.adminservices.OMAGServerAdminStoreServices
-
public class OMAGServerAdminStoreServices extends Object
OMAGServerAdminStoreServices provides the capability to store and retrieve configuration documents. A configuration document provides the configuration information for a server. By default, a server's configuration document is stored in its own file. However, it is possible to override the default location using setConfigurationStoreConnection. This override affects all server instances in this process.
-
-
Constructor Summary
Constructors Constructor Description OMAGServerAdminStoreServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoidResponseclearConfigurationStoreConnection(String userId)Clear the connection object for the configuration store.ConnectionResponsegetConfigurationStoreConnection(String userId)Return the connection object for the configuration store.VoidResponsesetConfigurationStoreConnection(String userId, Connection connection)Override the default location of the configuration documents.
-
-
-
Method Detail
-
setConfigurationStoreConnection
public VoidResponse setConfigurationStoreConnection(String userId, Connection connection)
Override the default location of the configuration documents.- Parameters:
userId- calling user.connection- connection used to create and configure the connector that interacts with the real store.- Returns:
- void response
-
getConfigurationStoreConnection
public ConnectionResponse getConfigurationStoreConnection(String userId)
Return the connection object for the configuration store. Null is returned if the server should use the default store.- Parameters:
userId- calling user- Returns:
- connection response
-
clearConfigurationStoreConnection
public VoidResponse clearConfigurationStoreConnection(String userId)
Clear the connection object for the configuration store.- Parameters:
userId- calling user- Returns:
- connection response
-
-