Namespace: Consultingwerk.Util.ClassCache
Interface 
IClassNameCacheService Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.Util.ClassCache.ClassNameCacheService




Top Method Summary
Options Name Purpose
Clear () Drops the in-memory content of the cache
GetCache (dataset) Returns a copy of the whole cache
GetClassNames (character, logical, table) Returns the names of the classes that inherit from or implement the given base type
GetClassNames (character, table) Returns the names of the classes that inherit from or implement the given base type, excluding abstract classes and interfaces
GetInterfaceNames (character, table) Returns the names of the interfaces that inherit from the given base type
Refresh () Rescans the class path now, ignoring the persistent cache
Refresh (character) Rescans a single .classpath entry

Top Property Summary
Options Name Purpose
Consultingwerk.Util.ClassCache.ClassNameCacheSourceEnum ContentSource
LOGICAL IncludeDotNetDependentClasses
LOGICAL IsLoaded
Consultingwerk.Util.ClassCache.ClassNameCacheSourceEnum LastRequestSource


Method Detail
Top

Clear ()

Purpose: Drops the in-memory content of the cache
Notes: The next request loads the cache again (persistent cache
first, then a scan of the class path)

Top

GetCache (dataset)

Purpose: Returns a copy of the whole cache
Notes: For tooling (Session Info, class browser, tests). Do not pass
the dataset BY-REFERENCE, the content is copied to the caller

Parameters:
dsClassNameCache DATASET dsClassNameCache
OUTPUT The dataset with the class name cache
Top

GetClassNames (character, logical, table)

Purpose: Returns the names of the classes that inherit from or
implement the given base type
Notes:

Parameters:
pcBaseType CHARACTER
The base type (class or interface) that the returned classes need to match
plIncludeAbstract LOGICAL
Include abstract classes and interfaces in the result
ttClassNames TEMP-TABLE ttClassNames
OUTPUT Temp-Table with the list of matching class names
Top

GetClassNames (character, table)

Purpose: Returns the names of the classes that inherit from or
implement the given base type, excluding abstract classes
and interfaces
Notes:

Parameters:
pcBaseType CHARACTER
The base type (class or interface) that the returned classes need to match
ttClassNames TEMP-TABLE ttClassNames
OUTPUT Temp-Table with the list of matching class names
Top

GetInterfaceNames (character, table)

Purpose: Returns the names of the interfaces that inherit from the
given base type
Notes: Replaces the GetInterfacesInClassPath scans (SCL-5870)

Parameters:
pcBaseType CHARACTER
The base type the returned interfaces need to match, an empty string matches every interface
ttClassNames TEMP-TABLE ttClassNames
OUTPUT Temp-Table with the list of matching interface names
Top

Refresh ()

Purpose: Rescans the class path now, ignoring the persistent cache
Notes: Writes the result when an IClassNameCacheWriter is registered

Top

Refresh (character)

Purpose: Rescans a single .classpath entry
Notes: Typically the project directory after a build, while the
framework procedure library stays as it is. Writes the result
when an IClassNameCacheWriter is registered

Parameters:
pcClassPathEntry CHARACTER
The .classpath entry (DirectoryEntry or ProcedureLibraryEntry, as written) to rescan


Property Detail
Top

Consultingwerk.Util.ClassCache.ClassNameCacheSourceEnum ContentSource


Returns Consultingwerk.Util.ClassCache.ClassNameCacheSourceEnum
Top

LOGICAL IncludeDotNetDependentClasses


Returns LOGICAL
Top

LOGICAL IsLoaded


Returns LOGICAL
Top

Consultingwerk.Util.ClassCache.ClassNameCacheSourceEnum LastRequestSource


Returns Consultingwerk.Util.ClassCache.ClassNameCacheSourceEnum


ProDataset Detail

ProDataset dsClassNameCache

Member tables: ttClassNameCacheInfo, ttClassNameCache


Temp-Table Detail

Temp-Table ttClassNameCache

Defined in:

Temp-Table ttClassNameCacheInfo

Defined in:

Temp-Table ttClassNames

Defined in:


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