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

net.anotheria.anoprise.dualcrud.DualCrudServiceFactory 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.dualcrud;

/**
 * DualCrudServiceFactory.
 * 
 * @author lrosenberg
 * @version 1.0, 2010/02/02
 */
public final class DualCrudServiceFactory {

	/**
	 * Create new instance of {@link DualCrudService} with given left and right {@link CrudService} and {@link DualCrudConfig}.
	 * 
	 * @param 
	 *            - {@link CrudSaveable} type
	 * @param left
	 *            - {@link CrudService}
	 * @param right
	 *            - {@link CrudService}
	 * @param config
	 *            - {@link DualCrudConfig}
	 * @return created instance of {@link DualCrudService}
	 */
	public static final  DualCrudService createDualCrudService(CrudService left, CrudService right, DualCrudConfig config) {
		return new DualCrudServiceImpl(config, left, right);
	}

	/**
	 * Default constructor.
	 */
	private DualCrudServiceFactory() {
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy