Class OMAGServerConfigStoreConnectorBase
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.adminservices.store.OMAGServerConfigStoreConnectorBase
- All Implemented Interfaces:
OMAGServerConfigStore,SecureConnectorExtension,VirtualConnectorExtension
- Direct Known Subclasses:
FileBasedServerConfigStoreConnector
public abstract class OMAGServerConfigStoreConnectorBase
extends ConnectorBase
implements OMAGServerConfigStore
OMAGServerConfigStoreConnectorBase provides the base class for an OMAG Server's configuration document store.
It defines the specific interface for this type of connector. A new connector instance is created for each
OMAG Server configuration document that is to be retrieved or stored.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
ConnectorBase.ProtectedConnection -
Field Summary
FieldsFields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
auditLog, connectionBean, connectorInstanceId, embeddedConnectors, messageFormatter, secretsStoreConnectorMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetStoreName(String template, String... params) This method provides the ability to generate the name of the store based on a template and insert values.voidsetServerName(String serverName) Set up the name of the server for this configuration document.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
combineConfigurationProperties, disconnect, disconnectConnectors, equals, fromCanonicalToKebabCase, fromCanonicalToSnakeCase, fromKebabToCanonicalCase, fromSnakeToCanonicalCase, getArrayConfigurationProperty, getArrayConfigurationProperty, getArrayConfigurationProperty, getBooleanConfigurationProperty, getConnection, getConnectorInstanceId, getDateConfigurationProperty, getIntConfigurationProperty, getLongConfigurationProperty, getStringConfigurationProperty, getStringConfigurationProperty, getSuppliedPlaceholderProperties, hashCode, initialize, initializeEmbeddedConnectors, initializeSecretsStoreConnector, isActive, logExceptionRecord, logRecord, logRecord, start, throwMissingConfigurationProperty, throwMissingEndpointAddress, throwMissingResource, throwNoAsset, throwWrongTypeOfAsset, throwWrongTypeOfResource, throwWrongTypeOfRootSchema, toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, refreshStatistics, setStatisticProperty, setStatisticTimestampMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.odpi.openmetadata.adminservices.store.OMAGServerConfigStore
removeServerConfig, retrieveServerConfig, saveServerConfig
-
Field Details
-
serverName
-
-
Constructor Details
-
OMAGServerConfigStoreConnectorBase
public OMAGServerConfigStoreConnectorBase()
-
-
Method Details
-
setServerName
Set up the name of the server for this configuration document.- Specified by:
setServerNamein interfaceOMAGServerConfigStore- Parameters:
serverName- name of the server
-
getStoreName
This method provides the ability to generate the name of the store based on a template and insert values. Typically this is to allow the server name to be embedded into the store name, but other values, such as the platform name may also be needed for some store implementations.- Parameters:
template- this is the template with placeholdersparams- this is the list of parameters that can be embedded in the template if placeholders are present (no error results of the placeholders are not present.- Returns:
- formatted string
-