org.odpi.openmetadata.engineservices.assetanalysis.server.AssetAnalysisRegistration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of asset-analysis-server Show documentation
Show all versions of asset-analysis-server Show documentation
Server side implementation of the asset analysis engine services (heart of the automated metadata discovery services).
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.engineservices.assetanalysis.server;
import org.odpi.openmetadata.engineservices.assetanalysis.admin.AssetAnalysisAdmin;
import org.odpi.openmetadata.governanceservers.enginehostservices.registration.OMAGEngineServiceRegistration;
import org.odpi.openmetadata.adminservices.configuration.registration.EngineServiceDescription;
import org.odpi.openmetadata.adminservices.configuration.registration.EngineServiceRegistration;
import org.odpi.openmetadata.adminservices.configuration.registration.ServiceOperationalStatus;
/**
* AssetOwnerRegistration registers the engine service with the OMAG Server administration services.
* This registration must be driven once at server start up. The OMAG Server administration services
* then use this registration information as confirmation that there is an implementation of this
* engine service in the server and it can be configured and used.
*/
class AssetAnalysisRegistration
{
/**
* Pass information about this engine service to the OMAG Server administration services.
*/
static void registerEngineService()
{
EngineServiceDescription myDescription = EngineServiceDescription.ASSET_ANALYSIS_OMES;
EngineServiceRegistration myRegistration = new EngineServiceRegistration(myDescription,
ServiceOperationalStatus.ENABLED,
AssetAnalysisAdmin.class.getName());
OMAGEngineServiceRegistration.registerEngineService(myRegistration);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy