Ice 3.8
Slice API Reference
Loading...
Searching...
No Matches

◆ syncApplicationWithoutRestart()

void syncApplicationWithoutRestart ( ApplicationDescriptor descriptor) throws AccessDeniedException, DeploymentException, ApplicationNotExistException

Synchronizes a deployed application.

This operation replaces the current descriptor with a new descriptor only if no server restarts are necessary for the update of the application. If some servers need to be restarted, the synchronization is rejected with a DeploymentException.

Parameters
descriptorThe application descriptor.
Exceptions
AccessDeniedExceptionThrown when the session doesn't hold the exclusive lock or when another session is holding the lock.
DeploymentExceptionThrown when the application deployment failed.
ApplicationNotExistExceptionThrown when the application doesn't exist.