org.infinispan.distexec.mapreduce.MapReduceManagerFactory Maven / Gradle / Ivy
package org.infinispan.distexec.mapreduce;
import org.infinispan.factories.AbstractNamedCacheComponentFactory;
import org.infinispan.factories.AutoInstantiableFactory;
import org.infinispan.factories.annotations.DefaultFactoryFor;
/**
* MapReduceManagerFactory is a default factory class for {@link MapReduceManager}.
*
* This is an internal class, not intended to be used by clients.
* @author Vladimir Blagojevic
* @since 5.2
*/
@DefaultFactoryFor(classes={MapReduceManager.class})
public class MapReduceManagerFactory extends AbstractNamedCacheComponentFactory implements
AutoInstantiableFactory {
@SuppressWarnings("unchecked")
@Override
public T construct(Class componentType) {
T result = (T) new MapReduceManagerImpl();
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy