canCreate abstract method
dynamic
canCreate(
- dynamic locator
Checks if this factory is able to create component by given locator.
This method searches for all registered components and returns a locator for component it is able to create that matches the given locator. If the factory is not able to create a requested component is returns null.
locator
a locator to identify component to be created. Returns a locator for a component that the factory is able to create.
Implementation
dynamic canCreate(dynamic locator);