|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ServiceFinder
interface serves as an access point
for kernel-level service discovery. From a service finder object
one can look up a given service by name, or can directly ask for a
slice of the given service.
Service
Field Summary | |
static java.lang.String |
MAIN_SLICE
|
static java.lang.String |
THIS_SLICE
|
Method Summary | |
Service.Slice[] |
findAllSlices(java.lang.String serviceKey)
Retrieves all the slices of a service currently active on this platform. |
Service |
findService(java.lang.String key)
Looks up a platform service by name. |
Service.Slice |
findSlice(java.lang.String serviceKey,
java.lang.String sliceKey)
Looks up a specific service slice by name. |
Field Detail |
public static final java.lang.String MAIN_SLICE
public static final java.lang.String THIS_SLICE
Method Detail |
public Service findService(java.lang.String key) throws IMTPException, ServiceException
key
- The name of the service. Concrete syntax for service
names is left up to concrete services.
IMTPException
ServiceException
public Service.Slice findSlice(java.lang.String serviceKey, java.lang.String sliceKey) throws IMTPException, ServiceException
IMTPException
ServiceException
public Service.Slice[] findAllSlices(java.lang.String serviceKey) throws IMTPException, ServiceException
serviceKey
- The name of the service. Concrete syntax for
service names is left up to concrete services.
Service.Slice
objects,
containing all the slices of the requested service.
IMTPException
ServiceException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |