org.apache.xbean.osgi
Class MavenBundleManager

java.lang.Object
  extended by org.apache.xbean.osgi.MavenBundleManager

public class MavenBundleManager
extends Object

Since:
2.0
Author:
Dain Sundstrom

Constructor Summary
MavenBundleManager(org.osgi.framework.BundleContext bundleContext, File localRepository)
           
 
Method Summary
 Manifest createOsgiManifest(Project project)
           
 org.osgi.framework.Bundle installBundle(Artifact artifact)
           
 org.osgi.framework.Bundle installBundle(String groupId, String artifactId, String version)
           
 Project loadProject(Artifact artifact)
           
 Project loadProject(String groupId, String artifactId, String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenBundleManager

public MavenBundleManager(org.osgi.framework.BundleContext bundleContext,
                          File localRepository)
Method Detail

loadProject

public Project loadProject(Artifact artifact)

loadProject

public Project loadProject(String groupId,
                           String artifactId,
                           String version)

installBundle

public org.osgi.framework.Bundle installBundle(String groupId,
                                               String artifactId,
                                               String version)
                                        throws Exception
Throws:
Exception

installBundle

public org.osgi.framework.Bundle installBundle(Artifact artifact)
                                        throws Exception
Throws:
Exception

createOsgiManifest

public Manifest createOsgiManifest(Project project)
                            throws IOException
Throws:
IOException


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.