use of org.alien4cloud.alm.events.AfterApplicationEnvironmentDeleted in project alien4cloud by alien4cloud.
the class ApplicationEnvironmentService method deleteEnvironment.
private void deleteEnvironment(ApplicationEnvironment environment) {
publisher.publishEvent(new BeforeApplicationEnvironmentDeleted(this, environment.getApplicationId(), environment.getId()));
alienDAO.delete(ApplicationEnvironment.class, environment.getId());
publisher.publishEvent(new AfterApplicationEnvironmentDeleted(this, environment.getApplicationId(), environment.getId()));
}
Aggregations