@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) @Throws(APPlatformException::class) fun deleteInstance(instanceId: String?, settings: ProvisioningSettings): InstanceStatus? { val paramHandler = PropertyHandler(settings) paramHandler.setState(Status.DELETION_REQUESTED) val result = InstanceStatus() result.setChangedParameters(settings.getParameters()) return result }
Starts the deletion of an application instance . < p > The internal status < code > DELETION_REQUESTED < /code > is stored as a controller configuration setting . It is evaluated and handled by the status dispatcher , which is invoked at regular intervals by APP through the < code > getInstanceStatus < /code > method .