The Bundle interface defines these two methods for returning information pertaining to service usage of the bundles:
- getRegisteredServices() ─ バンドルがフレームワークに登録した ServiceReference オブジェクトを返す.
- getServicesInUse() ─ バンドルが現在使用中の ServiceReference オブジェクトを返す.
- getRegisteredServices() - Returns the ServiceReference objects that the bundle has registered with the Framework.
- getServicesInUse() - Returns the ServiceReference objects that the bundle is currently using.