org.universAAL.middleware.managers.api
Interface DeployManager

Package class diagram package DeployManager
All Superinterfaces:
Manager
All Known Implementing Classes:
DeployManagerImpl

public interface DeployManager
extends Manager

Deploy Manager Service interface

Version:
$LastChangedRevision$ ( $LastChangedDate$ )
Author:
Michele Girolami, Francesco Furfari, Stefano Lenzi

Method Summary
 boolean isDeployCoordinator()
          True if I'm the Deploy coordinator
 InstallationResultsDetails requestToInstall(UAPPPackage app)
          This method is invoked in order to install a multi-part application in the AALSpace.
 InstallationResultsDetails requestToUninstall(String serviceId, String id)
          Remove an installed uApp by means of the unique pair String serviceId and String id
 
Methods inherited from interface org.universAAL.middleware.managers.api.Manager
dispose, init, loadConfigurations
 

Method Detail

requestToInstall

InstallationResultsDetails requestToInstall(UAPPPackage app)
This method is invoked in order to install a multi-part application in the AALSpace. The class using this method will have to invoke the @link #requestToInstall(URI, Map, String) method once for each application that is contained in a uSrv

Parameters:
app - UAPPPackage the representing the uAPP application deployment plan to install on uAAL
Returns:
InstallationResults as result of the installation

isDeployCoordinator

boolean isDeployCoordinator()
True if I'm the Deploy coordinator

Returns:
trueif and only if the node has the Deploy Manager Coordinator role

requestToUninstall

InstallationResultsDetails requestToUninstall(String serviceId,
                                              String id)
Remove an installed uApp by means of the unique pair String serviceId and String id

Parameters:
serviceId - the String representing the unique identifier of the service provided by the uStore
id - the String representing the unique id (with the service) of the uApp to remove
Returns:
the result of the uninstall task of the uApp


Copyright © 2014 universAAL Consortium. All Rights Reserved.