code: public void beforeDeploy(@Observes(precedence = CitrusExtensionConstants.INSTANCE_PRECEDENCE) BeforeDeploy event) {
          try {
              if (!event.getDeployment().testable()) {
                  log.info("Producing Citrus framework instance");
                  citrusInstance.set(Citrus.newInstance(configurationInstance.get().getConfigurationClass()));
              }
          } catch (Exception e) {
              log.error(CitrusExtensionConstants.CITRUS_EXTENSION_ERROR, e);
              throw e;
          }
      }
docs: Before deploy executed before deployment on client.
  @param event