org.codehaus.plexus.component.factory
public interface ComponentFactory
ServiceFactory
is responsible for instantiating a component.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROLE
Component role.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId() |
java.lang.Object |
newInstance(ComponentDescriptor componentDescriptor,
org.codehaus.plexus.classworlds.realm.ClassRealm classRealm,
PlexusContainer container) |
java.lang.String getId()
java.lang.Object newInstance(ComponentDescriptor componentDescriptor, org.codehaus.plexus.classworlds.realm.ClassRealm classRealm, PlexusContainer container) throws ComponentInstantiationException
ComponentInstantiationException