@absolunet/ioc2.1.0

View on GitHub

ForwardProxy

Proxy that forwards calls to a forwarded instance if property is not found in the instance.

Extends

Methods

forwardCall(method, parametersopt)

Source:
Inherited From:
Forward call to given object.
Parameters:
Name Type Attributes Default Description
method string The method to call.
parameters Array.<*> <optional>
[] The parameters to send to the forwarded instance method.
Returns:
The method result.
Type
*

(abstract) getForward()

Source:
Inherited From:
Get object which should receive the call forwarding.
Returns:
The forward instance.
Type
object

get(object, property)

Source:
Overrides:
Property accessor.
Parameters:
Name Type Description
object object Proxied object.
property string The property name.
Returns:
The property value.
Type
*