Versions Compared

Key

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

...

Note

The property setDependencies is usually set for the component with an empty array. Be sure to remove the empty occurrence of that property.

 

Back to Top top

 

...

Add the Private Property and Public Setter

...

This method is called by the OSGi framework each time an instance of, for example, an element is created. The OSGi framework looks for a method that starts with "set" and that has one parameter of the class that is being depended on (in the example SessionManager).

  

Back to top