org.apache.aries.application.runtime.framework
Class BundleFrameworkImpl

java.lang.Object
  extended by org.apache.aries.application.runtime.framework.BundleFrameworkImpl
All Implemented Interfaces:
BundleFramework

public class BundleFrameworkImpl
extends Object
implements BundleFramework


Field Summary
 
Fields inherited from interface org.apache.aries.application.management.spi.framework.BundleFramework
SHARED_BUNDLE_FRAMEWORK
 
Method Summary
 void close()
           
 List<org.osgi.framework.Bundle> getBundles()
           
 org.osgi.framework.Bundle getFrameworkBundle()
           
 org.osgi.framework.BundleContext getIsolatedBundleContext()
           
 void init()
           
 org.osgi.framework.Bundle install(BundleRepository.BundleSuggestion suggestion, AriesApplication app)
           
 void start()
           
 void start(org.osgi.framework.Bundle b)
           
 void stop(org.osgi.framework.Bundle b)
           
 void uninstall(org.osgi.framework.Bundle b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

start

public void start()
           throws org.osgi.framework.BundleException
Specified by:
start in interface BundleFramework
Throws:
org.osgi.framework.BundleException

init

public void init()
          throws org.osgi.framework.BundleException
Specified by:
init in interface BundleFramework
Throws:
org.osgi.framework.BundleException

close

public void close()
           throws org.osgi.framework.BundleException
Specified by:
close in interface BundleFramework
Throws:
org.osgi.framework.BundleException

start

public void start(org.osgi.framework.Bundle b)
           throws org.osgi.framework.BundleException
Specified by:
start in interface BundleFramework
Throws:
org.osgi.framework.BundleException

stop

public void stop(org.osgi.framework.Bundle b)
          throws org.osgi.framework.BundleException
Specified by:
stop in interface BundleFramework
Throws:
org.osgi.framework.BundleException

getFrameworkBundle

public org.osgi.framework.Bundle getFrameworkBundle()
Specified by:
getFrameworkBundle in interface BundleFramework

getIsolatedBundleContext

public org.osgi.framework.BundleContext getIsolatedBundleContext()
Specified by:
getIsolatedBundleContext in interface BundleFramework

getBundles

public List<org.osgi.framework.Bundle> getBundles()
Specified by:
getBundles in interface BundleFramework

install

public org.osgi.framework.Bundle install(BundleRepository.BundleSuggestion suggestion,
                                         AriesApplication app)
                                  throws org.osgi.framework.BundleException
Specified by:
install in interface BundleFramework
Throws:
org.osgi.framework.BundleException

uninstall

public void uninstall(org.osgi.framework.Bundle b)
               throws org.osgi.framework.BundleException
Specified by:
uninstall in interface BundleFramework
Throws:
org.osgi.framework.BundleException


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.