LOGGER.debug("created app from {} : {} {} with contents {}", new Object[] {
applicationLocation.getName(), appSymName, appVersion,
app.getApplicationMetadata().getApplicationContents() });
AriesApplicationContext context = applicationManager.install(app);
LOGGER.debug("installed app {} {} state: {}", new Object[] {
appSymName, appVersion,
context.getApplicationState() });
context.start();
LOGGER.debug("started app {} {} state: {}", new Object[] {
appSymName, appVersion,
context.getApplicationState() });
// Store the application context away because it is the application context we need
// to pass to the application manager if we're later asked to uninstall the application
appContexts.put(applicationLocation, context);
}