Namespace: Consultingwerk.Framework
Class 
LazyLoadingServiceCreator Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.IServiceCreator

File:LazyLoadingServiceCreator
Purpose:IServiceCreator implementation used by the ServiceLoader
for services defined with the <LazyLoading>true</LazyLoading>
flag
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Apr 13 08:08:02 CEST 2017
Notes:SCL-1725



Top Method Summary
Options Name Purpose
+ Progress.Lang.Object CreateInstance (Class) Creates a service instance
+ RegisterServiceType (Class, character) Registers a service type for lazy loading


Method Detail
Top

PUBLIC Progress.Lang.Object CreateInstance (Class)

Purpose: Creates a service instance
Notes: Factory method for services referenced by the provided service type
(typically an interface)

Parameters:
poType Progress.Lang.Class
The service type to create an instance of
Returns Progress.Lang.Object
The created service instance
Top

PUBLIC RegisterServiceType (Class, character)

Purpose: Registers a service type for lazy loading
Notes:

Parameters:
poType Progress.Lang.Class
The service type (Interface)
pcImplementingType CHARACTER
The name of the class implementing the service


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 12:59:07