|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectBaseBundleActivator
org.eclipse.soda.dk.connection.bundle.ServiceBundle
public abstract class ServiceBundle
The ServiceBundle extends the OAF BaseBundleActivator to create an object and register OSGi service(s).
| Field Summary | |
|---|---|
static java.lang.String |
DEVICE_CLASS
Define the device class (String) constant. |
static java.lang.String |
DEVICE_REVISION
Define the device revision (String) constant. |
| Constructor Summary | |
|---|---|
ServiceBundle()
|
|
| Method Summary | |
|---|---|
protected void |
activate()
Create exported services. |
java.util.Hashtable |
createProperties()
Create the properties. |
java.lang.Object |
createService()
Create the service. |
protected void |
destroyExportedServices()
Destroy exported services. |
abstract java.lang.String[] |
getExportedServiceNames()
Gets the service names (String[]) value. |
java.lang.Object |
getService()
Gets the service (Object) value. |
void |
log(int severity,
java.lang.String message)
Log with the specified severity and message parameters. |
void |
log(int severity,
java.lang.String message,
java.lang.Throwable exception)
Log with the specified severity, message and exception parameters. |
void |
setService(java.lang.Object service)
Sets the service value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEVICE_REVISION
public static final java.lang.String DEVICE_CLASS
| Constructor Detail |
|---|
public ServiceBundle()
| Method Detail |
|---|
protected void activate()
public java.util.Hashtable createProperties()
Hashtable)
value.public java.lang.Object createService()
Object) value.getService(),
setService(Object)protected void destroyExportedServices()
public abstract java.lang.String[] getExportedServiceNames()
String[]) value.public java.lang.Object getService()
Object) value.createService(),
setService(Object)
public void log(int severity,
java.lang.String message)
int) parameter.
The message (String) parameter.
severity - The severity (int) parameter.message - The message (String) parameter.log(int,String,Throwable)
public void log(int severity,
java.lang.String message,
java.lang.Throwable exception)
int) parameter.
The message (String) parameter.
The exception (Throwable) parameter.
severity - The severity (int) parameter.message - The message (String) parameter.exception - The exception (Throwable) parameter.log(int,String)public void setService(java.lang.Object service)
Object) parameter.
service - The service (Object) parameter.createService(),
getService()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||