pl.edu.icm.unity.engine.msg.MessageAreaRegistry Maven / Gradle / Ivy
/*
* Copyright (c) 2020 Bixbit - Krzysztof Benedyczak. All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.engine.msg;
import java.util.List;
import org.springframework.stereotype.Component;
import pl.edu.icm.unity.base.message.MessageAreaProvider;
import pl.edu.icm.unity.engine.api.utils.TypesRegistryBase;
@Component
public class MessageAreaRegistry extends TypesRegistryBase
{
public MessageAreaRegistry(List extends MessageAreaProvider> typeElements)
{
super(typeElements);
}
@Override
protected String getId(MessageAreaProvider from)
{
return from.getName();
}
}