class DefaultListenerService implements ListenerService, InitializingBean {

    @Override
    public String registerListenerForJob(final JobConfiguration jobConfiguration) {
        final JobListenerType jobListenerType = jobConfiguration.getJobListenerConfiguration().getJobListenerType();
        final String beanName;
        switch (jobListenerType) {
            case LOCAL_FOLDER_LISTENER:
                beanName = this.registerFolderListener(jobConfiguration);
                break;
            default:
                throw new SpringBatchLightminApplicationException("Unknown ListenerType: " + jobListenerType);
        }
        return beanName;
    }

    public  DefaultListenerService(final BeanRegistrar beanRegistrar, final JobRegistry jobRegistry, final JobRepository jobRepository);

}