org.codehaus.plexus.component.factory.ComponentFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-curves4 Show documentation
Show all versions of virtdata-lib-curves4 Show documentation
Statistical sampling library for use in virtdata libraries, based
on apache commons math 4
package org.codehaus.plexus.component.factory;
import org.codehaus.plexus.component.repository.ComponentDescriptor;
import org.codehaus.plexus.PlexusContainer;
import org.codehaus.classworlds.ClassRealm;
/** A ServiceFactory
is responsible for instantiating a component.
*
* @author Jason van Zyl
* @author Michal Maczka
*
* @version $Id: ComponentFactory.java 1323 2004-12-20 23:00:59Z jvanzyl $
*/
public interface ComponentFactory
{
/** Component role. */
static String ROLE = ComponentFactory.class.getName();
String getId();
Object newInstance( ComponentDescriptor componentDescriptor, ClassRealm classRealm, PlexusContainer container )
throws ComponentInstantiationException;
}