 ./library/lib/mixinStrategy.xotcl
  ./library/lib/mixinStrategy.xotcl
| Description: | These methods provide support for managing "strategies",  i.e. 
    mixin-classes, where only one kind of a family of conformant 
    mixins should be registered. Naming conversions for strategies: All strategies must follow the naming convention 'kind=implementation'. Examples are the persistency strategy 'eager' specified as 'persistent=eager' or the persistency strategy 'lazy' (specified as 'persistent=lazy') | 
| Arguments: | strategy: Strategy to be added | 
| Description: | This method adds or replaces a new strategy from the mixin list. Strategies are named following the convention mentioned above. | 
| Return: | old strategy | 
| Arguments: | kind: strategy kind | 
| Description: | This method searches the mixin list for a mixin of this kind (starting with $kind=) | 
| Return: | returns the matching strategy | 
| Arguments: | construct: (inst) 'filter' or 'mixin' | 
| args: to be added | |
| Description: | add the specified (inst) 'filters' or 'mixins' | 
| Return: | empty | 
| Arguments: | construct: (inst) 'filter' or 'mixin' | 
| args: to be removed | |
| Description: | remove the specified (inst) 'filters' or 'mixins' | 
| Return: | empty | 
Back to index page.