public interface ApplicationAdminService extends ApplicationService
| Modifier and Type | Method and Description | 
|---|---|
void | 
activate(ApplicationId appId)
Activates the specified application. 
 | 
void | 
deactivate(ApplicationId appId)
Deactivates the specified application. 
 | 
Application | 
install(InputStream appDescStream)
Installs the application contained in the specified application archive
 input stream. 
 | 
void | 
setPermissions(ApplicationId appId,
              Set<Permission> permissions)
Updates the permissions granted to the applications. 
 | 
void | 
uninstall(ApplicationId appId)
Uninstalls the specified application. 
 | 
getApplication, getApplicationArchive, getApplications, getId, getPermissions, getState, registerDeactivateHookaddListener, removeListenerApplication install(InputStream appDescStream)
app.xml application descriptor file.appDescStream - application descriptor input streamApplicationException - if unable to read the app archive streamvoid uninstall(ApplicationId appId)
appId - application identifiervoid activate(ApplicationId appId)
appId - application identifiervoid deactivate(ApplicationId appId)
appId - application identifiervoid setPermissions(ApplicationId appId, Set<Permission> permissions)
appId - application identifierpermissions - set of granted permissions