|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.junit4osgi.plugin.Installer
public class Installer
Bundle Activator installing bundles in the embedded OSGi. Installed bundles are the junit4osgi framework, the required bundle and the artifact bundle (if enable). Bundles are installed from the local maven repository.
Constructor Summary | |
---|---|
Installer(List artifacts,
List bundles,
org.apache.maven.project.MavenProject project,
boolean deployCurrentArtifact)
Creates a Installer. |
Method Summary | |
---|---|
void |
start(BundleContext context)
Start bundles. |
void |
stop(BundleContext context)
Stopping methods. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Installer(List artifacts, List bundles, org.apache.maven.project.MavenProject project, boolean deployCurrentArtifact)
artifacts
- the list of artifact containing bundles for the junit4osgi framework.bundles
- the list of bundle URLs to installproject
- the current maven projectdeployCurrentArtifact
- flag enabling/disabling the deployment of the current project artifactMethod Detail |
---|
public void start(BundleContext context)
start
in interface BundleActivator
context
- the 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |