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


Method Detail
Top

Progress.Lang.Object CreateInstance (Class)

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

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

Progress.Lang.Object CreateInstance (Class, character)

Purpose: Creates a service instance for a keyed service registration
Notes: Factory method for services referenced by the provided service type
(typically an interface) and the Service Key of the registration
An error raised while instantiating or initializing the service
is rethrown as a ServiceLoaderException naming the failing
service class (SCL-5703)

Parameters:
poType Progress.Lang.Class
The service type to create an instance of
pcServiceKey CHARACTER
The Service Key of the service registration to create an instance for, "" for a registration without a Service Key
Returns Progress.Lang.Object
The created service instance
Top

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
Top

RegisterServiceType (Class, character, character)

Purpose: Registers a service type with a Service Key for lazy loading
Notes: SCL-5704

Parameters:
poType Progress.Lang.Class
The service type (Interface)
pcServiceKey CHARACTER
The Service Key the service is registered with, "" when the service is registered without a Service Key
pcImplementingType CHARACTER
The name of the class implementing the service


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       19.09.2026 10:07:34