All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.edu.icm.unity.engine.notifications.NotificationFacilitiesRegistry Maven / Gradle / Ivy

/*
 * Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved.
 * See LICENCE file for licensing information.
 */
package pl.edu.icm.unity.engine.notifications;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import pl.edu.icm.unity.engine.api.utils.TypesRegistryBase;

/**
 * Maintains a simple registry of available {@link NotificationFacility}ies.
 * @author K. Benedyczak
 */
@Component
public class NotificationFacilitiesRegistry extends TypesRegistryBase
{
	@Autowired
	public NotificationFacilitiesRegistry(List typeElements)
	{
		super(typeElements);
	}

	@Override
	protected String getId(NotificationFacility from)
	{
		return from.getName();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy