|When does the system inject @Optional annotated fields? [message #989275]
||Wed, 05 December 2012 08:17
| Alex Kipling
Registered: July 2012
I have some fields, which are annotated by @Optional.|
Those fields seem to be empty at creation time, because the required
objects are not yet in the Context,
But when the methods are executed, which use the Optional fields - the objects are there.
What happens, if the @Optional annotated fields could not be injected at creation time?
Will they be injected by te system, as soon as those objects become available?
Powered by FUDForum
. Page generated in 0.01561 seconds