The logic for transparently replacing the definition of a factory with the definition for the actual
target instance produced by that factory.
public function FactoryDefinitionReplacer(method:Method, config:Configuration)
Creates a new instance.
Parameters | method:Method — the factory method
|
| |
| config:Configuration — the configuration for the associated registry
|
public function replace(definition:ObjectDefinition):ObjectDefinition
Replaces (or wraps) the final object definition.
Parameters
Returns
Sat Apr 2 2011, 11:49 PM +01:00