...
Dependency Manager uses reflection to access configured callback methods. As a result reviewers/analyzers may consider these as dead/unused code. Therefore, by convention we define them as protected final and add a comment to indicate their use (AMDATURS-58).
Code Block | ||
---|---|---|
| ||
// Dependency Manager callback method protected final void someServiceAdded(ServiceReference<T> reference, T service) { //do something } |