com.liferay.commerce.pricing.internal.configuration.definition.CommercePricingConfigurationPidMapping Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.commerce.pricing.service
Show all versions of com.liferay.commerce.pricing.service
Liferay Commerce Pricing Service
The newest version!
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.commerce.pricing.internal.configuration.definition;
import com.liferay.commerce.pricing.configuration.CommercePricingConfiguration;
import com.liferay.commerce.pricing.constants.CommercePricingConstants;
import com.liferay.portal.kernel.settings.definition.ConfigurationPidMapping;
import org.osgi.service.component.annotations.Component;
/**
* @author Riccardo Alberti
*/
@Component(service = ConfigurationPidMapping.class)
public class CommercePricingConfigurationPidMapping
implements ConfigurationPidMapping {
@Override
public Class> getConfigurationBeanClass() {
return CommercePricingConfiguration.class;
}
@Override
public String getConfigurationPid() {
return CommercePricingConstants.SERVICE_NAME;
}
}