Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagejava
// Dependency Manager callback method
protected final void someServiceAdded(ServiceReference<T> reference, T service) {
  //do something 
}