|
Service Activator Toolkit
Version 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The IServiceRecord interface declares the API for all OSGi
services that are managed by SAT. The following responsibilities are
declared:
Note: Since this abstraction is used internally by the SAT bundle
this interface is typically not used directly by bundle developers. For
cases where subclassing the BaseBundleActivator is not
appropriate, instances of this interface can be created using the
FactoryUtility class.
| Method Summary | |
Object |
getProperty(String key)
Answers the property value with the key. |
String[] |
getPropertyKeys()
Answers all the property keys. |
Object |
getService()
Answers the service domain object. |
boolean |
hasService()
Query whether a service exists. |
void |
setService(Object service)
Set the service object. |
| Method Detail |
public Object getProperty(String key)
key - A service property key.
public String[] getPropertyKeys()
public Object getService()
public boolean hasService()
public void setService(Object service)
service - An object.
|
Service Activator Toolkit
Version 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2001, 2007 IBM Corporation and others. All Rights Reserved.