Namespace: Consultingwerk.OERA
Class 
ServiceNameMappingService Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: 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
# AutoMapServiceNames (character, character) Performs automatic mapping of Business Entity file names to Short names
+ CHARACTER GetBusinessServiceName (character) Returns the actual business service name for the provided class name

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


Method Detail
Top

PROTECTED 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

PUBLIC 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


Constructor Detail
Top

PUBLIC ServiceNameMappingService ()

Purpose: Constructor for the ServiceNameMappingService class
Notes:



©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:29:28