org.odpi.openmetadata.engineservices.governanceaction.server.GovernanceActionRegistration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of governance-action-server Show documentation
Show all versions of governance-action-server Show documentation
Server side implementation of the governance action engine services.
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.engineservices.governanceaction.server;
import org.odpi.openmetadata.engineservices.governanceaction.admin.GovernanceActionAdmin;
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;
/**
* GovernanceActionRegistration 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 GovernanceActionRegistration
{
/**
* Pass information about this engine service to the OMAG Server administration services.
*/
static void registerEngineService()
{
EngineServiceDescription myDescription = EngineServiceDescription.GOVERNANCE_ACTION_OMES;
EngineServiceRegistration myRegistration = new EngineServiceRegistration(myDescription,
ServiceOperationalStatus.ENABLED,
GovernanceActionAdmin.class.getName());
OMAGEngineServiceRegistration.registerEngineService(myRegistration);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy