use of org.mule.runtime.deployment.model.api.DeployableArtifact in project mule by mulesoft.
the class DeploymentDirectoryWatcher method stopArtifacts.
private void stopArtifacts(List<? extends DeployableArtifact> artifacts) {
Collections.reverse(artifacts);
for (DeployableArtifact artifact : artifacts) {
try {
artifact.stop();
artifact.dispose();
} catch (Throwable t) {
logger.error("Error stopping artifact {}", artifact.getArtifactName(), t);
}
}
}
Aggregations