|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OSGiServiceRepository
The eXtreme Scale runtime tracks all the services that are configured as user plug-ins. An OSGiServiceRepository object tracks these services and their service rankings that are available to the eXtreme Scale runtime in this process, and the service rankings in use.
Users can use OSGiManagerFactory.getOSGiServiceRepository()
method to get an instance of OSGiServiceRepository.
Nested Class Summary | |
---|---|
static class |
OSGiServiceRepository.OSGiServiceKey
The name of the entities that each OSGi Service is scoped to. |
Method Summary | |
---|---|
Map<OSGiServiceRepository.OSGiServiceKey,Map<String,Integer>> |
getAllCurrentlyUsedRankings()
Get currently used service rankings for all the OSGi services. |
Map<String,Collection<Integer>> |
getAllRankings()
Get all available service rankings for all the OSGi services |
Collection<Integer> |
getAllRankings(String serviceName)
Get all available service rankings for the OSGi service. |
Map<OSGiServiceRepository.OSGiServiceKey,Integer> |
getCurrentlyUsedRankings(String serviceName)
Get all currently used service rankings for the specified OSGi service. |
Map<String,Integer> |
retrieveServiceAvailability(Map<String,Integer> serviceRankings)
Check if the specified service rankings are available or not. |
Method Detail |
---|
Collection<Integer> getAllRankings(String serviceName)
serviceName
- the OSGi service name
Map<String,Collection<Integer>> getAllRankings()
Map<OSGiServiceRepository.OSGiServiceKey,Integer> getCurrentlyUsedRankings(String serviceName)
serviceName
- the OSGi service name
Map<OSGiServiceRepository.OSGiServiceKey,Map<String,Integer>> getAllCurrentlyUsedRankings()
Map<String,Integer> retrieveServiceAvailability(Map<String,Integer> serviceRankings)
serviceRankings
- a map of service rankings. The key of the map is the
service name, and the value is a collection of rankings for that
service.
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |