|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.dm.runtime.DependencyManagerRuntime
public class DependencyManagerRuntime
This class parses service descriptors generated by the annotation bnd processor. The descriptors are located under OSGI-INF/dependencymanager directory. Such files are actually referenced by a specific "DependendencyManager-Component" manifest header.
Constructor Summary | |
---|---|
DependencyManagerRuntime()
Our constructor. |
Method Summary | |
---|---|
protected void |
bundleStarted(Bundle b)
Checks if a started bundle have some DependencyManager descriptors referenced in the "DependencyManager-Component" OSGi header. |
protected void |
bundleStopped(Bundle b)
Unregisters all services for a stopping bundle. |
protected Object[] |
getComposition()
Return our Object Composition (the Activator will inject dependencies into it) |
protected void |
start()
Starts our Service (at this point, we have been injected with our bundle context, as well as with our log service. |
protected void |
stop()
Stops our service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DependencyManagerRuntime()
Method Detail |
---|
protected Object[] getComposition()
protected void start()
protected void stop()
protected void bundleStarted(Bundle b)
b
- the started bundle.protected void bundleStopped(Bundle b)
b
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |