Versions Compared

Key

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

...

It possible for the host application to use services provided by bundles without having access to the service interface classes and thus not need needing to put the service interface classes on the class path. To do this, the host application uses the same general approach to acquire the system bundle context object, which it can use to look up service objects. Using either an LDAP filter or the service interface class name, the host application can retrieve the service object and then use standard Java reflection to invoke methods on the service object.

...