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-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
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 - 2025 Weber Informatics LLC | Privacy Policy