Class ProductManagerInstance


public class ProductManagerInstance extends OMVSServiceInstance
ProductManagerInstance caches references to the objects it needs for a specific server. It is also responsible for registering itself in the instance map.
  • Constructor Details

    • ProductManagerInstance

      public ProductManagerInstance(String serverName, AuditLog auditLog, String localServerUserId, String localServerSecretsStoreProvider, String localServerSecretsStoreLocation, String localServerSecretsStoreCollection, int maxPageSize, String remoteServerName, String remoteServerURL) throws InvalidParameterException
      Set up the Product Manager OMVS instance
      Parameters:
      serverName - name of this server
      auditLog - logging destination
      localServerUserId - userId used for server initiated actions
      localServerSecretsStoreProvider - class name of the secrets store connector for bearer token
      localServerSecretsStoreLocation - location of the secrets store
      localServerSecretsStoreCollection - collection within the secrets store
      maxPageSize - maximum page size
      remoteServerName - remote server name
      remoteServerURL - remote server URL
      Throws:
      InvalidParameterException - problem with server name or platform URL
  • Method Details

    • getConnectorContext

      public ConnectorContextBase getConnectorContext(String userId)
      Return a connector context for the calling user. This is the object that the Open Integration Framework's Bitol mappers and generators work through; it gives them the same clients that an integration connector has.
      Parameters:
      userId - calling user
      Returns:
      connector context
    • getCollectionHandler

      public CollectionHandler getCollectionHandler()
      Return the collection handler. This handler is from the Open Metadata Framework (OMF) and is for accessing and maintaining collections, including digital products and their families.
      Returns:
      handler
    • getProductManagerHandler

      public ProductManagerHandler getProductManagerHandler()
      Return the product manager handler. This handler is from the Open Metadata Framework (OMF) and builds digital products and their subscription types.
      Returns:
      handler
    • getConnectedAssetClient

      public ConnectedAssetClient getConnectedAssetClient()
      Return the connected asset client. This client is from the Open Connector Framework (OCF) and is used to create connectors to the assets catalogued in open metadata - in particular the integration daemons that distribute Bitol documents.
      Returns:
      client