|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationStorageHandler
Enables privileged applications to make decisions for some methods in the org.dvb.application.storage package. The methods in this interface correspond to the methods in ApplicationStorageController that throw a UserRejectedInstallException. If an application storage handler does not permit a request then it should return false and the original method shall fail with a UserRejectedInstallException.
Implementations of the methods in this interface should complete quickly and not perform time-consuming operations such as blocking I/O calls.
Method Summary | |
---|---|
boolean |
removeAppRequested(AppAttributes app)
Called as part of the execution of ApplicationStorageController.remove(AppID). |
boolean |
removeAppRequested(AppAttributes[] app)
Called as part of the execution of ApplicationStorageController.remove(AppID[]). |
boolean |
removeServiceRequested(ApplicationStorageController service)
Called as part of the execution of ApplicationStorageController.removeService. |
boolean |
storeRequested(ApplicationStorageController service,
AppAttributes[] app,
boolean[] autoStart,
java.lang.String[][] args)
Called as part of the execution of ApplicationStorageController.store(AppProxy[],...). |
boolean |
storeRequested(ApplicationStorageController service,
AppAttributes app,
boolean autoStart,
java.lang.String[] args)
Called as part of the execution of ApplicationStorageController.store(AppProxy,...). |
boolean |
storeRequested(Locator fromService,
ApplicationStorageController toService,
AppAttributes[] app,
boolean[] autoStart,
java.lang.String[][] args)
Called as part of the execution of ApplicationStorageController.store(Locator,AppID[],...). |
Method Detail |
---|
boolean storeRequested(ApplicationStorageController service, AppAttributes app, boolean autoStart, java.lang.String[] args)
service
- the service for which store was calledapp
- the application to be installedautoStart
- the parameter as passed in the call to the store methodargs
- an array of strings where each entry is .equals to
the corresponding entry passed in the call to the store method
boolean storeRequested(ApplicationStorageController service, AppAttributes[] app, boolean[] autoStart, java.lang.String[][] args)
service
- the service for which store was calledapp
- the applications to be installedautoStart
- the array of booleans as passed in the call to the store methodargs
- an copy of the corresponding parameter passed to the
store method where each entry is .equals to
the corresponding entry passed in the call to the store method
boolean storeRequested(Locator fromService, ApplicationStorageController toService, AppAttributes[] app, boolean[] autoStart, java.lang.String[][] args)
fromService
- the service containing the applications to be storedtoService
- the service into which the applications are to be storedapp
- the applications to be installedautoStart
- the array of booleans as passed in the call to the store methodargs
- an copy of the corresponding parameter passed to the
store method where each entry is .equals to
the corresponding entry passed in the call to the store method
boolean removeServiceRequested(ApplicationStorageController service)
service
- the service for which removeService was called
boolean removeAppRequested(AppAttributes app)
app
- the application to be removed
boolean removeAppRequested(AppAttributes[] app)
app
- the applications to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |