org.codehaus.plexus.component.factory
Interface ComponentFactory
- All Known Implementing Classes:
- AbstractComponentFactory, JavaComponentFactory
public interface ComponentFactory
A ServiceFactory
is responsible for instantiating a component.
- Version:
- $Id: ComponentFactory.java 7089 2007-11-25 15:19:06Z jvanzyl $
- Author:
- Jason van Zyl, Michal Maczka
Field Summary |
static java.lang.String |
ROLE
Component role. |
ROLE
static final java.lang.String ROLE
- Component role.
getId
java.lang.String getId()
newInstance
java.lang.Object newInstance(ComponentDescriptor componentDescriptor,
org.codehaus.plexus.classworlds.realm.ClassRealm classRealm,
PlexusContainer container)
throws ComponentInstantiationException
- Throws:
ComponentInstantiationException
Copyright © 2001-2009 Codehaus. All Rights Reserved.