org.codehaus.plexus.component.manager.ComponentManagerManager Maven / Gradle / Ivy
The newest version!
package org.codehaus.plexus.component.manager;
import org.codehaus.plexus.PlexusContainer;
import org.codehaus.plexus.component.repository.ComponentDescriptor;
import org.codehaus.plexus.lifecycle.LifecycleHandlerManager;
import org.codehaus.plexus.lifecycle.UndefinedLifecycleHandlerException;
import java.util.Map;
/**
*
*
* @author Jason van Zyl
*
* @version $Id: ComponentManagerManager.java 2888 2005-11-09 16:32:05Z evenisse $
*/
public interface ComponentManagerManager
{
String ROLE = ComponentManagerManager.class.getName();
void setLifecycleHandlerManager( LifecycleHandlerManager lifecycleHandlerManager );
// ----------------------------------------------------------------------
// Component manager handling
// ----------------------------------------------------------------------
ComponentManager findComponentManagerByComponentKey( String componentKey );
ComponentManager findComponentManagerByComponentInstance( Object component );
ComponentManager createComponentManager( ComponentDescriptor descriptor, PlexusContainer container )
throws UndefinedComponentManagerException, UndefinedLifecycleHandlerException;
Map getComponentManagers();
void associateComponentWithComponentManager( Object component, ComponentManager componentManager );
void unassociateComponentWithComponentManager( Object component );
}