Allows for custom modification of a component factory's definitions. More...
Instance Methods | |
(void) | - postProcessDefinition:replacement:withFactory: |
Post process a definition. More... | |
Allows for custom modification of a component factory's definitions.
Component factories can auto-detect TyphoonComponentFactoryPostProcessor components in their definitions and apply them before any other components get created.
- (void) postProcessDefinition: | (TyphoonDefinition *) | definition | |
replacement: | (TyphoonDefinition **) | definitionToReplace | |
withFactory: | (TyphoonComponentFactory *) | factory | |
Post process a definition.
Called for each definition in the factory. You able to modify definition and you can return another definition, using definitionToReplace pointer.
definition | The definition. |
definitionToReplace | pointer to definition replacement |
factory | The component factory. |