JVCL Help:TExtensibleInterfacedPersistent.InitImplementers

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Called upon creation of the object to allow initialization of extensions.


Pascal

 procedureInitImplementers; virtual;


Description

InitImplementers is called from the AfterConstruction method, just before the implicit reference count (FRefCount is initialized to 1 when a new instance is generated to avoid destruction if an interface was referenced and went out of scope again during the construction itself) is reset.
The main purpose of this method is to allow descendants to automatically generate and initialize (default) extensions. This is usually achieved by constructing a TAggregatedPersistentEx derivative, handing it this object as it's owner. TAggregatedPersistentEx will then take care of registering the extension.


See Also

TAggregatedPersistentEx, TExtensibleInterfacedPersistent.AddIntfImpl


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page