|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.Extender
public class Extender
iPOJO Extender. This class listens bundle arrivals and departures in order to detect and manage iPOJO powered bundles. This class creates factories and ask for instance creation.
SynchronousBundleListener
,
BundleActivator
Constructor Summary | |
---|---|
Extender()
|
Method Summary | |
---|---|
void |
bundleChanged(BundleEvent event)
Bundle Listener Notification. |
BundleContext |
getBundleContext(Bundle bundle)
Computes the bundle context from the bundle class by introspection. |
static BundleContext |
getIPOJOBundleContext()
Gets iPOJO bundle context. |
void |
start(BundleContext context)
iPOJO Start method. |
void |
stop(BundleContext context)
Stops the iPOJO Bundle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Extender()
Method Detail |
---|
public void bundleChanged(BundleEvent event)
bundleChanged
in interface BundleListener
event
- the bundle event.BundleListener.bundleChanged(org.osgi.framework.BundleEvent)
public void start(BundleContext context)
start
in interface BundleActivator
context
- the iPOJO bundle context.BundleActivator.start(org.osgi.framework.BundleContext)
public void stop(BundleContext context)
stop
in interface BundleActivator
context
- the bundle context.BundleActivator.stop(org.osgi.framework.BundleContext)
public static BundleContext getIPOJOBundleContext()
public BundleContext getBundleContext(Bundle bundle)
bundle
- the bundle.
null
if not found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |