Indicates that the return value of a particular method on a module bean or a socket bean should be considered as a bean and considered during dependency injection.
A nested bean can be seen as a lightweight bean as it doesn't follow any
particular lifecycle. Unlike regular module bean, it can be null and
NullPointerException can then be thrown at runtime. They have to be
used wisely and sparingly when they make sense (eg. cascading configuration
data to component modules)
- Since:
- 1.1
- Author:
- Jeremy Kuhn