net.anotheria.anoprise.dualcrud.DualCrudServiceFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ano-prise Show documentation
Show all versions of ano-prise Show documentation
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.
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