Class AlternateReference
Reference that defaults to alternate component in case that original one is not fetchable from container
Methods
Name | Description |
---|---|
alternative
|
Set alternative |
alternative
|
Get alternative |
get
|
Resolve the reference, to referenced component. |
original
|
Set original |
original
|
Get original |
Parameters
Name | Description |
---|---|
original | original reference to a component that is attempted to be fetched. |
alternate | reference to alternate component that is meant to substitute original component in case of some failure. |
Throws
Returns
AlternateReference