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

net.anotheria.anoprise.metafactory.OnTheFlyConflictResolver Maven / Gradle / Ivy

Go to download

Collection of utils for different enterprise class projects. Among other stuff contains Caches, Mocking, DualCrud, MetaFactory and SessionDistributorService. Visit https://opensource.anotheria.net for details.

There is a newer version: 4.0.0
Show newest version
package net.anotheria.anoprise.metafactory;

import java.util.Collection;

/**
 * This helper class is used by the MetaFactory to resolve conflicts.
 *
 * @author lrosenberg
 * @since 07.01.13 23:36
 */
public interface OnTheFlyConflictResolver {
	/**
	 * Returns one class of the list, if the conflict resolver knows which to pick, or null.
	 * @param candidates
	 * @return
	 */
	 Class resolveConflict(Collection> candidates);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy