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

org.codehaus.plexus.component.factory.ComponentFactory Maven / Gradle / Ivy

Go to download

Statistical sampling library for use in virtdata libraries, based on apache commons math 4

There is a newer version: 5.17.0
Show newest version
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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy