Class DefferedProxyWrapper
A proxy factory that returns a proxy when object cannot be constructed due to circular reference errors.
class DefferedProxyWrapper(T, Z)
;
A proxy factory that returns a proxy when object cannot be constructed due to circular reference errors. The wrapper will provide a proxy object instead of original only when, an deffered executioner is provided, and exception chain contains a CircularReferenceException. Due to providing a proxy instead of original object usage of this factory wrapper should be considered in cases when performance is not of first priority.
Constructors
Name | Description |
---|---|
this
|
Default constructor for DefferedProxyWrapper |
Methods
Name | Description |
---|---|
allocator
|
Set allocator |
allocator
|
Get allocator |
destruct
|
Destructs a component of type Z. |
executioner
|
Set executioner |
executioner
|
Get executioner |
factory
|
Instantiates component of type Z. |
locator
|
Set a locator to object. |
type
|
Get the type info of T that is created. |