public class Activator extends Object implements org.osgi.framework.BundleActivator, org.osgi.framework.SynchronousBundleListener, FactoryFinder.ObjectFactory
FactoryFinder
to the OSGi environment.Constructor and Description |
---|
Activator() |
Modifier and Type | Method and Description |
---|---|
void |
bundleChanged(org.osgi.framework.BundleEvent event) |
Object |
create(String path) |
protected void |
register(org.osgi.framework.Bundle bundle) |
void |
start(org.osgi.framework.BundleContext bundleContext) |
void |
stop(org.osgi.framework.BundleContext bundleContext) |
protected void |
unregister(long bundleId)
When bundles unload..
|
public Activator()
public void start(org.osgi.framework.BundleContext bundleContext) throws Exception
start
in interface org.osgi.framework.BundleActivator
Exception
public void stop(org.osgi.framework.BundleContext bundleContext) throws Exception
stop
in interface org.osgi.framework.BundleActivator
Exception
public void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged
in interface org.osgi.framework.BundleListener
protected void register(org.osgi.framework.Bundle bundle)
protected void unregister(long bundleId)
bundleId
- public Object create(String path) throws IllegalAccessException, InstantiationException, IOException, ClassNotFoundException
create
in interface FactoryFinder.ObjectFactory
IllegalAccessException
InstantiationException
IOException
ClassNotFoundException
Copyright © 2005–2018 FuseSource, Corp.. All rights reserved.