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 6064 2007-03-13 12:39:55Z trygvis $
Author:
Jason van Zyl, Michal Maczka

Field Summary
static String ROLE
          Component role.
 
Method Summary
 String getId()
           
 Object newInstance(ComponentDescriptor componentDescriptor, org.codehaus.plexus.classworlds.realm.ClassRealm classRealm, PlexusContainer container)
           
 

Field Detail

ROLE

static final String ROLE
Component role.

Method Detail

getId

String getId()

newInstance

Object newInstance(ComponentDescriptor componentDescriptor,
                   org.codehaus.plexus.classworlds.realm.ClassRealm classRealm,
                   PlexusContainer container)
                   throws ComponentInstantiationException
Throws:
ComponentInstantiationException


Copyright © 2001-2007 Codehaus. All Rights Reserved.