package eu.bcvsolutions.idm.acc.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import eu.bcvsolutions.idm.acc.entity.SysSystem;
import eu.bcvsolutions.idm.acc.entity.SysSystemFormValue;
import eu.bcvsolutions.idm.core.api.service.ConfidentialStorage;
import eu.bcvsolutions.idm.core.eav.repository.AbstractFormValueRepository;
import eu.bcvsolutions.idm.core.eav.service.impl.AbstractFormValueService;

/**
 * Module services configuration
 * 
 * @author Radek Tomiška
 *
 */
@Configuration
public class ServiceConfiguration {

	/**
	 * Eav attributes for target system configuration
	 * 
	 * @param repository
	 * @param confidentialStorage
	 * @return
	 */
	@Bean
	public AbstractFormValueService<SysSystem, SysSystemFormValue> systemFormValueService(
			AbstractFormValueRepository<SysSystem, SysSystemFormValue> repository, 
			ConfidentialStorage confidentialStorage) {
		return new AbstractFormValueService<SysSystem, SysSystemFormValue>(repository, confidentialStorage) {};
	}
}

@@ -573,16 +573,19 @@
 c class 
+Acc
 ServiceC

Fix class name