Spring
This page documents the results from the Spring whiteboard where all Javapolis 2006 participants were encouraged to participate with their ideas.
Injectable
"Add a Spring Injectable interface allowing the object to be notified of the injection, passing in some context, allowing it to adapt itself."
interface Injectable {
void injected(AnnotatedElement[] annotations);
}
Comments included:
- "With Spring being the Dependency Injection Framework, why on earth would you need an Injectable callback"
- "Proxy relevant beans iterate 'Injectable' dependencies after afterPropertySet()"
- "Inversion of Inversion of Control"