| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.6.0_22) on Fri Jan 21 21:46:59 GMT 2011 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| BundleFrameworkManager (Apache Aries Application API 0.3-SNAPSHOT API) |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2011-01-21"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="BundleFrameworkManager (Apache Aries Application API 0.3-SNAPSHOT API)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BundleFrameworkManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkFactory.html" title="interface in org.apache.aries.application.management.spi.framework"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.BundleLocator.html" title="interface in org.apache.aries.application.management.spi.framework"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../index.html?org/apache/aries/application/management/spi/framework/BundleFrameworkManager.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="BundleFrameworkManager.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.aries.application.management.spi.framework</FONT> |
| <BR> |
| Interface BundleFrameworkManager</H2> |
| <HR> |
| <DL> |
| <DT><PRE>public interface <B>BundleFrameworkManager</B></DL> |
| </PRE> |
| |
| <P> |
| <HR> |
| |
| <P> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| |
| <A NAME="nested_class_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Nested Class Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static interface</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.BundleLocator.html" title="interface in org.apache.aries.application.management.spi.framework">BundleFrameworkManager.BundleLocator</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.html#SHARED_FRAMEWORK_LOCK">SHARED_FRAMEWORK_LOCK</A></B></CODE> |
| |
| <BR> |
| All additions/removals of frameworks and bundles from the shared bundle framework are |
| performed under this object lock.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.html#allowsUpdate(org.apache.aries.application.DeploymentMetadata, org.apache.aries.application.DeploymentMetadata)">allowsUpdate</A></B>(<A HREF="../../../../../../../org/apache/aries/application/DeploymentMetadata.html" title="interface in org.apache.aries.application">DeploymentMetadata</A> newMetadata, |
| <A HREF="../../../../../../../org/apache/aries/application/DeploymentMetadata.html" title="interface in org.apache.aries.application">DeploymentMetadata</A> oldMetadata)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFramework.html" title="interface in org.apache.aries.application.management.spi.framework">BundleFramework</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.html#getBundleFramework(org.osgi.framework.Bundle)">getBundleFramework</A></B>(<A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</A> frameworkBundle)</CODE> |
| |
| <BR> |
| Gets the BundleFramework object associated with the given bundle</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFramework.html" title="interface in org.apache.aries.application.management.spi.framework">BundleFramework</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.html#getSharedBundleFramework()">getSharedBundleFramework</A></B>()</CODE> |
| |
| <BR> |
| Gets a reference to the single shared bundle framework.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.html#installIsolatedBundles(java.util.Collection, org.apache.aries.application.management.AriesApplication)">installIsolatedBundles</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../../../../org/apache/aries/application/management/spi/repository/BundleRepository.BundleSuggestion.html" title="interface in org.apache.aries.application.management.spi.repository">BundleRepository.BundleSuggestion</A>> bundlesToInstall, |
| <A HREF="../../../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A> app)</CODE> |
| |
| <BR> |
| Creates a new framework inside the shared bundle framework and installs a |
| collection of bundles into the framework.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.html#installSharedBundles(java.util.Collection, org.apache.aries.application.management.AriesApplication)">installSharedBundles</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../../../../org/apache/aries/application/management/spi/repository/BundleRepository.BundleSuggestion.html" title="interface in org.apache.aries.application.management.spi.repository">BundleRepository.BundleSuggestion</A>> bundlesToInstall, |
| <A HREF="../../../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A> app)</CODE> |
| |
| <BR> |
| Installs a collection of shared bundles to the shared bundle framework</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.html#startBundle(org.osgi.framework.Bundle)">startBundle</A></B>(<A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</A> b)</CODE> |
| |
| <BR> |
| Starts a previously installed bundle</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.html#stopBundle(org.osgi.framework.Bundle)">stopBundle</A></B>(<A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</A> b)</CODE> |
| |
| <BR> |
| Stops a previously installed bundle</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.html#uninstallBundle(org.osgi.framework.Bundle)">uninstallBundle</A></B>(<A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</A> b)</CODE> |
| |
| <BR> |
| Removes a bundle from the runtime</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.html#updateBundles(org.apache.aries.application.DeploymentMetadata, org.apache.aries.application.DeploymentMetadata, org.apache.aries.application.management.AriesApplication, org.apache.aries.application.management.spi.framework.BundleFrameworkManager.BundleLocator, java.util.Set, boolean)">updateBundles</A></B>(<A HREF="../../../../../../../org/apache/aries/application/DeploymentMetadata.html" title="interface in org.apache.aries.application">DeploymentMetadata</A> newMetadata, |
| <A HREF="../../../../../../../org/apache/aries/application/DeploymentMetadata.html" title="interface in org.apache.aries.application">DeploymentMetadata</A> oldMetadata, |
| <A HREF="../../../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A> app, |
| <A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.BundleLocator.html" title="interface in org.apache.aries.application.management.spi.framework">BundleFrameworkManager.BundleLocator</A> locator, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</A>> bundles, |
| boolean startBundles)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="SHARED_FRAMEWORK_LOCK"><!-- --></A><H3> |
| SHARED_FRAMEWORK_LOCK</H3> |
| <PRE> |
| static final <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>SHARED_FRAMEWORK_LOCK</B></PRE> |
| <DL> |
| <DD>All additions/removals of frameworks and bundles from the shared bundle framework are |
| performed under this object lock. Users bypassing this api and performing operations on |
| the underlying OSGi frameworks should be sure to hold this lock. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="getBundleFramework(org.osgi.framework.Bundle)"><!-- --></A><H3> |
| getBundleFramework</H3> |
| <PRE> |
| <A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFramework.html" title="interface in org.apache.aries.application.management.spi.framework">BundleFramework</A> <B>getBundleFramework</B>(<A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</A> frameworkBundle)</PRE> |
| <DL> |
| <DD>Gets the BundleFramework object associated with the given bundle |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>frameworkBundle</CODE> - - The bundle representing the bundle framework |
| <DT><B>Returns:</B><DD>the bundle framework</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSharedBundleFramework()"><!-- --></A><H3> |
| getSharedBundleFramework</H3> |
| <PRE> |
| <A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFramework.html" title="interface in org.apache.aries.application.management.spi.framework">BundleFramework</A> <B>getSharedBundleFramework</B>()</PRE> |
| <DL> |
| <DD>Gets a reference to the single shared bundle framework. The Shared Bundle |
| Framework contains bundle shared between applications |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the shared bundle framework</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="installIsolatedBundles(java.util.Collection, org.apache.aries.application.management.AriesApplication)"><!-- --></A><H3> |
| installIsolatedBundles</H3> |
| <PRE> |
| <A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</A> <B>installIsolatedBundles</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../../../../org/apache/aries/application/management/spi/repository/BundleRepository.BundleSuggestion.html" title="interface in org.apache.aries.application.management.spi.repository">BundleRepository.BundleSuggestion</A>> bundlesToInstall, |
| <A HREF="../../../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A> app) |
| throws <A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/BundleException.html?is-external=true" title="class or interface in org.osgi.framework">BundleException</A></PRE> |
| <DL> |
| <DD>Creates a new framework inside the shared bundle framework and installs a |
| collection of bundles into the framework. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>bundlesToInstall</CODE> - The collection of bundles to be installed<DD><CODE>app</CODE> - The application associated with this install |
| <DT><B>Returns:</B><DD>the bundle of the framework |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/BundleException.html?is-external=true" title="class or interface in org.osgi.framework">BundleException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="installSharedBundles(java.util.Collection, org.apache.aries.application.management.AriesApplication)"><!-- --></A><H3> |
| installSharedBundles</H3> |
| <PRE> |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</A>> <B>installSharedBundles</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../../../../org/apache/aries/application/management/spi/repository/BundleRepository.BundleSuggestion.html" title="interface in org.apache.aries.application.management.spi.repository">BundleRepository.BundleSuggestion</A>> bundlesToInstall, |
| <A HREF="../../../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A> app) |
| throws <A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/BundleException.html?is-external=true" title="class or interface in org.osgi.framework">BundleException</A></PRE> |
| <DL> |
| <DD>Installs a collection of shared bundles to the shared bundle framework |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>bundlesToInstall</CODE> - <DD><CODE>app</CODE> - |
| <DT><B>Returns:</B><DD>the collection of installed bundles. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/BundleException.html?is-external=true" title="class or interface in org.osgi.framework">BundleException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="allowsUpdate(org.apache.aries.application.DeploymentMetadata, org.apache.aries.application.DeploymentMetadata)"><!-- --></A><H3> |
| allowsUpdate</H3> |
| <PRE> |
| boolean <B>allowsUpdate</B>(<A HREF="../../../../../../../org/apache/aries/application/DeploymentMetadata.html" title="interface in org.apache.aries.application">DeploymentMetadata</A> newMetadata, |
| <A HREF="../../../../../../../org/apache/aries/application/DeploymentMetadata.html" title="interface in org.apache.aries.application">DeploymentMetadata</A> oldMetadata)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="updateBundles(org.apache.aries.application.DeploymentMetadata, org.apache.aries.application.DeploymentMetadata, org.apache.aries.application.management.AriesApplication, org.apache.aries.application.management.spi.framework.BundleFrameworkManager.BundleLocator, java.util.Set, boolean)"><!-- --></A><H3> |
| updateBundles</H3> |
| <PRE> |
| void <B>updateBundles</B>(<A HREF="../../../../../../../org/apache/aries/application/DeploymentMetadata.html" title="interface in org.apache.aries.application">DeploymentMetadata</A> newMetadata, |
| <A HREF="../../../../../../../org/apache/aries/application/DeploymentMetadata.html" title="interface in org.apache.aries.application">DeploymentMetadata</A> oldMetadata, |
| <A HREF="../../../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A> app, |
| <A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.BundleLocator.html" title="interface in org.apache.aries.application.management.spi.framework">BundleFrameworkManager.BundleLocator</A> locator, |
| <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</A>> bundles, |
| boolean startBundles) |
| throws <A HREF="../../../../../../../org/apache/aries/application/management/UpdateException.html" title="class in org.apache.aries.application.management">UpdateException</A></PRE> |
| <DL> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../../../org/apache/aries/application/management/UpdateException.html" title="class in org.apache.aries.application.management">UpdateException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="startBundle(org.osgi.framework.Bundle)"><!-- --></A><H3> |
| startBundle</H3> |
| <PRE> |
| void <B>startBundle</B>(<A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</A> b) |
| throws <A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/BundleException.html?is-external=true" title="class or interface in org.osgi.framework">BundleException</A></PRE> |
| <DL> |
| <DD>Starts a previously installed bundle |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>b</CODE> - |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/BundleException.html?is-external=true" title="class or interface in org.osgi.framework">BundleException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="stopBundle(org.osgi.framework.Bundle)"><!-- --></A><H3> |
| stopBundle</H3> |
| <PRE> |
| void <B>stopBundle</B>(<A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</A> b) |
| throws <A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/BundleException.html?is-external=true" title="class or interface in org.osgi.framework">BundleException</A></PRE> |
| <DL> |
| <DD>Stops a previously installed bundle |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>b</CODE> - |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/BundleException.html?is-external=true" title="class or interface in org.osgi.framework">BundleException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="uninstallBundle(org.osgi.framework.Bundle)"><!-- --></A><H3> |
| uninstallBundle</H3> |
| <PRE> |
| void <B>uninstallBundle</B>(<A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Bundle.html?is-external=true" title="class or interface in org.osgi.framework">Bundle</A> b) |
| throws <A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/BundleException.html?is-external=true" title="class or interface in org.osgi.framework">BundleException</A></PRE> |
| <DL> |
| <DD>Removes a bundle from the runtime |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>b</CODE> - |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="http://www.osgi.org/javadoc/r4v42/org/osgi/framework/BundleException.html?is-external=true" title="class or interface in org.osgi.framework">BundleException</A></CODE></DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BundleFrameworkManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkFactory.html" title="interface in org.apache.aries.application.management.spi.framework"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../../org/apache/aries/application/management/spi/framework/BundleFrameworkManager.BundleLocator.html" title="interface in org.apache.aries.application.management.spi.framework"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../index.html?org/apache/aries/application/management/spi/framework/BundleFrameworkManager.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="BundleFrameworkManager.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2009-2011 <a href="http://www.apache.org">The Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |