public class FrameworkManager extends Object
Constructor and Description |
---|
FrameworkManager(Chameleon chameleon,
ChameleonConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
addActivators(org.osgi.framework.BundleActivator... activators) |
void |
addActivators(List<org.osgi.framework.BundleActivator> activators) |
org.osgi.framework.launch.Framework |
get() |
org.osgi.framework.launch.Framework |
start()
Initializes and Starts the Chameleon frameworks.
|
void |
stop()
Stops the underlying framework.
|
public FrameworkManager(Chameleon chameleon, ChameleonConfiguration configuration) throws Exception
Exception
public void addActivators(org.osgi.framework.BundleActivator... activators)
public org.osgi.framework.launch.Framework get()
public org.osgi.framework.launch.Framework start() throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
- if a bundle cannot be installed or started
correctly.public void stop() throws org.osgi.framework.BundleException, InterruptedException
org.osgi.framework.BundleException
- should not happen.InterruptedException
- if the method is interrupted during the
waiting time.public void addActivators(List<org.osgi.framework.BundleActivator> activators)
Copyright © 2009–2013 OW2 Chameleon. All rights reserved.