class DefaultAdminService implements AdminService {

    @Override
    @Transactional(propagation = Propagation.REQUIRED, transactionManager = "lightminTransactionManager")
    public void saveJobConfiguration(@Valid final JobConfiguration jobConfiguration) {
        jobConfiguration.validateForSave();
        if (jobConfiguration.getJobSchedulerConfiguration() != null) {
            saveSchedulerConfiguration(jobConfiguration);
        } else if (jobConfiguration.getJobListenerConfiguration() != null) {
            saveListenerConfiguration(jobConfiguration);
        }
    }

    public  DefaultAdminService(final JobConfigurationRepository jobConfigurationRepository,
                               final SchedulerService schedulerService,
                               final ListenerService listenerService,
                               final SpringBatchLightminCoreConfigurationProperties springBatchLightminCoreConfigurationProperties
    );

}