Edgewall Software

Changes between Version 25 and Version 26 of TracDev/ComponentArchitecture


Ignore:
Timestamp:
Feb 19, 2011, 10:11:27 PM (13 years ago)
Author:
FilipeCorreia
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/ComponentArchitecture

    v25 v26  
    5151}}}
    5252
    53 Remember that components follow the singleton pattern, but component managers are not. There is only one active instance of any component per component manager. The component constructor is “magic” in that it checks with the component manager whether there´s already an active instance before allocating a new instance. If the component was already instantiated, the existing instance is returned:
     53Remember that components follow the singleton pattern, but component managers do not. There is only one active instance of any component per component manager. The component constructor is “magic” in that it checks with the component manager whether there´s already an active instance before allocating a new instance. If the component was already instantiated, the existing instance is returned:
    5454
    5555{{{