Annotation Interface WhenReady
BeanContext handles the process of notifying when that implement
Ready/ReadyListener when their dependencies are ready and they are
now ready. It does this by examining Autowired properties to build
a dependency graph. In the event that a bean contains a property that also
needs to be ready but is not Autowired, it can use the WhenReady
annotation to indicate to BeanContext that is should also monitor
this property as part of the dependency graph.
This is only meaningful if the referenced object implements the Ready
interface.
- Since:
- 1
- Version:
- 1
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String[] valueThe ready group(s) that this object belongs to.- Returns:
- the names of the groups that this object belongs to; can be any number of groups
- Since:
- 1
- Default:
- {""}
-