Namespace: Consultingwerk.OERA
Class 
ServiceNameMappingService Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Ccs.Common.IService, Consultingwerk.OERA.IServiceNameMappingService

File:ServiceNameMappingService
Purpose:Default implementation of IServiceNameMappingService
Interface. Supports the mapping of the business service
name (e.g. Business Entity or Business Task) to the
actual class name
Description:Supports mapping of short names to actual class names
(SCL-1171)
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Feb 04 22:31:04 CET 2016
Notes:Reads service mapping from a file .servicenamemapping
From Consultingwerk/OERA/ttServiceNameMapping.i
Supports custom log file messages using the "ServiceNameMappingService"
custom message sub system
Performs automatic mapping based on the "autoServiceNameMapping"
entry in the .applicationsettings/.restapplicationsettings
file, e.g.
"autoServiceNameMapping": "Consultingwerk\\SmartFramework\\*BusinessEntity.r,Consultingwerk\\SmartComponentsDemo\\*BusinessEntity.r",
"autoServiceNameMappingThrowOnInvalidFolder": "false",



Top Method Summary
Options Name Purpose
AutoMapFromRepository (character) Performs auto mapping of repository based Business Entity Names
AutoMapServiceNames (character, character) Performs automatic mapping of Business Entity file names to Short names
dispose () Disposes the service instance
CHARACTER GetBusinessServiceName (character) Returns the actual business service name for the provided class name
initialize () Initializes the service instance

Top Constructor Summary
Options Name Purpose
ServiceNameMappingService () Constructor for the ServiceNameMappingService class


Method Detail
Top

AutoMapFromRepository (character)

Purpose: Performs auto mapping of repository based Business Entity Names
Notes:

Parameters:
pcRepositoryEntityTypes CHARACTER
The repository object type names to auto map
Top

AutoMapServiceNames (character, character)

Purpose: Performs automatic mapping of Business Entity file names to
Short names
Notes: See SCL1592

Parameters:
pcMapping CHARACTER
The value of the autoServiceNameMapping setting (IConfigurationProvider)
pcThrowOnInvalidDirectory CHARACTER
Throw errors on invalid directory entries
Top

dispose ()

Purpose: Disposes the service instance
Notes:

Top

CHARACTER GetBusinessServiceName (character)

Purpose: Returns the actual business service name for the provided class
name
Notes:

Parameters:
pcServiceName CHARACTER
The service name as provided by the consumer
Returns CHARACTER
The name of the actual business service implementing class
Top

initialize ()

Purpose: Initializes the service instance
Notes:



Constructor Detail
Top

ServiceNameMappingService ()

Purpose: Constructor for the ServiceNameMappingService class
Notes:



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       30.03.2026 11:05:35