TMediatorManager class
Central manager for registering and finding mediator definitions
Declaration
TMediatorManager = class(TObject)Inheritance
- TMediatorManager
- TObject
Description
The TMediatorManager class provides centralized registration and lookup of mediator definitions.
It allows registration of mediator classes with specific requirements and automatically finds the
best matching mediator for given subject/GUI combinations.
The manager uses a collection of mediator definitions to evaluate compatibility and select the most appropriate mediator based on class hierarchies, property types, and property names.
Properties
Defs | public | Collection of registered mediator definitions |
Methods
Create | public | Creates the mediator manager with empty definition collection |
Destroy | public | Destroys the manager and its definition collection |
FindDefFor | public | Finds the best mediator definition for given parameters |
RegisterMediator | public | Registers a new mediator class with the manager |
Inherited
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
