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

com.univocity.api.CommonFactoryProvider Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2013 Univocity Software Pty Ltd. All rights reserved.
 * This file is subject to the terms and conditions defined in file
 * 'LICENSE.txt', which is part of this source code package.
 */

package com.univocity.api;

/**
 * The CommonFactoryProvider is used to obtain actual implementations of interfaces and configured objects
 * from an implementation .jar. It is used internally by the {@link Builder} class.
 *
 * @author Univocity Software Pty Ltd - [email protected]
 */
public interface CommonFactoryProvider {

	/**
	 * Returns an object implementation provided by univocity. This is for internal use only.
	 *
	 * @param builderType the interface of a builder entry point
	 * @param args        any arguments required to initialize the builder.
	 * @param          the type of builder to instantiate.
	 *
	 * @return a concrete implementation of the given type.
	 */
	 T build(Class builderType, Object... args);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy