|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mbs.services.cu.generator.ServiceObject
public abstract class ServiceObject
This is a super class for default implementations
of ManagedControlUnit and ControlUnitFactory
services. It handles service registration/unregistration in the OSGi framework.
| Method Summary | |
|---|---|
protected abstract void |
fillDefaultProperties(java.util.Dictionary props)
This method is invoked when service is registed. |
void |
registerService(org.osgi.framework.BundleContext bc,
java.util.Dictionary props)
Register this object as an OSGi service in the framework. |
void |
unregisterService()
Unregister this object as an OSGi service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void registerService(org.osgi.framework.BundleContext bc,
java.util.Dictionary props)
bc - a BundleContext instance with which the service will
be registeredpublic void unregisterService()
protected abstract void fillDefaultProperties(java.util.Dictionary props)
props dictionary.
For control units these default properties are type and id.
props - dictionary where default properties are stored.
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||