blob: 55a930d3682b6349758027586e87813ec96dd8e5 [file] [log] [blame]
<!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>
AriesApplicationManager (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="AriesApplicationManager (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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AriesApplicationManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/aries/application/management/AriesApplicationListener.html" title="interface in org.apache.aries.application.management"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/aries/application/management/BundleInfo.html" title="interface in org.apache.aries.application.management"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/aries/application/management/AriesApplicationManager.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="AriesApplicationManager.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<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</FONT>
<BR>
Interface AriesApplicationManager</H2>
<HR>
<DL>
<DT><PRE>public interface <B>AriesApplicationManager</B></DL>
</PRE>
<P>
An AriesApplicationManager service is used to create, install and uninstall Aries
applications.
<P>
<P>
<HR>
<P>
<!-- ========== 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>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/aries/application/management/AriesApplicationManager.html#addApplicationListener(org.apache.aries.application.management.AriesApplicationListener)">addApplicationListener</A></B>(<A HREF="../../../../../org/apache/aries/application/management/AriesApplicationListener.html" title="interface in org.apache.aries.application.management">AriesApplicationListener</A>&nbsp;l)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add an AriesApplicationListener</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/aries/application/management/AriesApplicationManager.html#createApplication(org.apache.aries.application.filesystem.IDirectory)">createApplication</A></B>(<A HREF="../../../../../org/apache/aries/application/filesystem/IDirectory.html" title="interface in org.apache.aries.application.filesystem">IDirectory</A>&nbsp;source)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an AriesApplication from a local resource.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/aries/application/management/AriesApplicationManager.html#createApplication(java.net.URL)">createApplication</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;url)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an AriesApplication from a remote resource.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/aries/application/management/AriesApplicationContext.html" title="interface in org.apache.aries.application.management">AriesApplicationContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/aries/application/management/AriesApplicationManager.html#install(org.apache.aries.application.management.AriesApplication)">install</A></B>(<A HREF="../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A>&nbsp;app)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Install an AriesApplication - i.e.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/aries/application/management/AriesApplicationManager.html#removeApplicationListener(org.apache.aries.application.management.AriesApplicationListener)">removeApplicationListener</A></B>(<A HREF="../../../../../org/apache/aries/application/management/AriesApplicationListener.html" title="interface in org.apache.aries.application.management">AriesApplicationListener</A>&nbsp;l)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove an AriesApplicationListener</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/aries/application/management/AriesApplicationManager.html#resolve(org.apache.aries.application.management.AriesApplication, org.apache.aries.application.management.ResolveConstraint...)">resolve</A></B>(<A HREF="../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A>&nbsp;originalApp,
<A HREF="../../../../../org/apache/aries/application/management/ResolveConstraint.html" title="interface in org.apache.aries.application.management">ResolveConstraint</A>...&nbsp;constraints)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resolve an AriesApplication against a set of constraints.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/aries/application/management/AriesApplicationManager.html#uninstall(org.apache.aries.application.management.AriesApplicationContext)">uninstall</A></B>(<A HREF="../../../../../org/apache/aries/application/management/AriesApplicationContext.html" title="interface in org.apache.aries.application.management">AriesApplicationContext</A>&nbsp;app)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Uninstall an AriesApplication - i.e.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/aries/application/management/AriesApplicationContext.html" title="interface in org.apache.aries.application.management">AriesApplicationContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/aries/application/management/AriesApplicationManager.html#update(org.apache.aries.application.management.AriesApplication, org.apache.aries.application.DeploymentMetadata)">update</A></B>(<A HREF="../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A>&nbsp;app,
<A HREF="../../../../../org/apache/aries/application/DeploymentMetadata.html" title="interface in org.apache.aries.application">DeploymentMetadata</A>&nbsp;depMf)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update an application's deployment and apply the changes to the runtime if the application is deployed</TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ 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="createApplication(org.apache.aries.application.filesystem.IDirectory)"><!-- --></A><H3>
createApplication</H3>
<PRE>
<A HREF="../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A> <B>createApplication</B>(<A HREF="../../../../../org/apache/aries/application/filesystem/IDirectory.html" title="interface in org.apache.aries.application.filesystem">IDirectory</A>&nbsp;source)
throws <A HREF="../../../../../org/apache/aries/application/management/ManagementException.html" title="class in org.apache.aries.application.management">ManagementException</A></PRE>
<DL>
<DD>Create an AriesApplication from a local resource.
The application won't be automatically resolved if the
archive does not contain a deployment manifest.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - .eba file, or exploded directory
<DT><B>Returns:</B><DD>AriesApplication
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/aries/application/management/ManagementException.html" title="class in org.apache.aries.application.management">ManagementException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="createApplication(java.net.URL)"><!-- --></A><H3>
createApplication</H3>
<PRE>
<A HREF="../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A> <B>createApplication</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;url)
throws <A HREF="../../../../../org/apache/aries/application/management/ManagementException.html" title="class in org.apache.aries.application.management">ManagementException</A></PRE>
<DL>
<DD>Create an AriesApplication from a remote resource.
The application won't be automatically resolved if the
archive does not contain a deployment manifest.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>url</CODE> -
<DT><B>Returns:</B><DD>the application.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/aries/application/management/ManagementException.html" title="class in org.apache.aries.application.management">ManagementException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="install(org.apache.aries.application.management.AriesApplication)"><!-- --></A><H3>
install</H3>
<PRE>
<A HREF="../../../../../org/apache/aries/application/management/AriesApplicationContext.html" title="interface in org.apache.aries.application.management">AriesApplicationContext</A> <B>install</B>(<A HREF="../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A>&nbsp;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>,
<A HREF="../../../../../org/apache/aries/application/management/ManagementException.html" title="class in org.apache.aries.application.management">ManagementException</A>,
<A HREF="../../../../../org/apache/aries/application/management/ResolverException.html" title="class in org.apache.aries.application.management">ResolverException</A></PRE>
<DL>
<DD>Install an AriesApplication - i.e. load its bundles into the runtime, but do
not start them.
If the application is not resolved, a call to <A HREF="../../../../../org/apache/aries/application/management/AriesApplicationManager.html#resolve(org.apache.aries.application.management.AriesApplication, org.apache.aries.application.management.ResolveConstraint...)"><CODE>resolve(AriesApplication, ResolveConstraint...)</CODE></A>
will be performed and the resolved application will be installed. In such a case the resolved
application can be obtained by calling <A HREF="../../../../../org/apache/aries/application/management/AriesApplicationContext.html#getApplication()"><CODE>AriesApplicationContext.getApplication()</CODE></A>
on the returned ApplicationContext.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>app</CODE> - Application to install
<DT><B>Returns:</B><DD>AriesApplicationContext, a handle to an application in the runtime
<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>
<DD><CODE><A HREF="../../../../../org/apache/aries/application/management/ManagementException.html" title="class in org.apache.aries.application.management">ManagementException</A></CODE>
<DD><CODE><A HREF="../../../../../org/apache/aries/application/management/ResolverException.html" title="class in org.apache.aries.application.management">ResolverException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="uninstall(org.apache.aries.application.management.AriesApplicationContext)"><!-- --></A><H3>
uninstall</H3>
<PRE>
void <B>uninstall</B>(<A HREF="../../../../../org/apache/aries/application/management/AriesApplicationContext.html" title="interface in org.apache.aries.application.management">AriesApplicationContext</A>&nbsp;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>Uninstall an AriesApplication - i.e. unload its bundles from the runtime.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>app</CODE> - The installed application to uninstall
<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="addApplicationListener(org.apache.aries.application.management.AriesApplicationListener)"><!-- --></A><H3>
addApplicationListener</H3>
<PRE>
void <B>addApplicationListener</B>(<A HREF="../../../../../org/apache/aries/application/management/AriesApplicationListener.html" title="interface in org.apache.aries.application.management">AriesApplicationListener</A>&nbsp;l)</PRE>
<DL>
<DD>Add an AriesApplicationListener
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>l</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="removeApplicationListener(org.apache.aries.application.management.AriesApplicationListener)"><!-- --></A><H3>
removeApplicationListener</H3>
<PRE>
void <B>removeApplicationListener</B>(<A HREF="../../../../../org/apache/aries/application/management/AriesApplicationListener.html" title="interface in org.apache.aries.application.management">AriesApplicationListener</A>&nbsp;l)</PRE>
<DL>
<DD>Remove an AriesApplicationListener
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>l</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="update(org.apache.aries.application.management.AriesApplication, org.apache.aries.application.DeploymentMetadata)"><!-- --></A><H3>
update</H3>
<PRE>
<A HREF="../../../../../org/apache/aries/application/management/AriesApplicationContext.html" title="interface in org.apache.aries.application.management">AriesApplicationContext</A> <B>update</B>(<A HREF="../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A>&nbsp;app,
<A HREF="../../../../../org/apache/aries/application/DeploymentMetadata.html" title="interface in org.apache.aries.application">DeploymentMetadata</A>&nbsp;depMf)
throws <A HREF="../../../../../org/apache/aries/application/management/UpdateException.html" title="class in org.apache.aries.application.management">UpdateException</A></PRE>
<DL>
<DD>Update an application's deployment and apply the changes to the runtime if the application is deployed
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>app</CODE> - The application to change<DD><CODE>depMf</CODE> - The new deployment metadata
<DT><B>Returns:</B><DD><A HREF="../../../../../org/apache/aries/application/management/AriesApplicationContext.html" title="interface in org.apache.aries.application.management"><CODE>AriesApplicationContext</CODE></A> Returns a new application context if the app
is currently deployed, or null if the app is not currently installed
<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> - if the deployment changes could not be effected in the runtime
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the deployment metadata does not correspond to the same application
(same symbolic name and same version)</DL>
</DD>
</DL>
<HR>
<A NAME="resolve(org.apache.aries.application.management.AriesApplication, org.apache.aries.application.management.ResolveConstraint...)"><!-- --></A><H3>
resolve</H3>
<PRE>
<A HREF="../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A> <B>resolve</B>(<A HREF="../../../../../org/apache/aries/application/management/AriesApplication.html" title="interface in org.apache.aries.application.management">AriesApplication</A>&nbsp;originalApp,
<A HREF="../../../../../org/apache/aries/application/management/ResolveConstraint.html" title="interface in org.apache.aries.application.management">ResolveConstraint</A>...&nbsp;constraints)
throws <A HREF="../../../../../org/apache/aries/application/management/ResolverException.html" title="class in org.apache.aries.application.management">ResolverException</A></PRE>
<DL>
<DD>Resolve an AriesApplication against a set of constraints. Each ResolveConstraint
represents a single proposed change to the content of an application.
If no constraints are given, a default resolution will be performed.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>originalApp</CODE> - Original application<DD><CODE>constraints</CODE> - Constraints
<DT><B>Returns:</B><DD>New AriesApplication
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/aries/application/management/ResolverException.html" title="class in org.apache.aries.application.management">ResolverException</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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AriesApplicationManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/aries/application/management/AriesApplicationListener.html" title="interface in org.apache.aries.application.management"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/aries/application/management/BundleInfo.html" title="interface in org.apache.aries.application.management"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/aries/application/management/AriesApplicationManager.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="AriesApplicationManager.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2009-2011 <a href="http://www.apache.org">The Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>