org.codehaus.plexus.component.manager

Interface ComponentManager

public interface ComponentManager

Manages a component manager. Determines when a component is shutdown, and when it's started up. Each manager deals with only one component class, though may handle multiple instances of this class.

Version: $Id: ComponentManager.java 6981 2007-10-21 20:22:52Z jvanzyl $

Author: Jason van Zyl

Field Summary
StringROLE
Method Summary
ComponentManagercopy()
voiddispose()
ObjectgetComponent()
ObjectgetComponent(ClassRealm realm)
ComponentDescriptorgetComponentDescriptor()
intgetConnections()
MutablePlexusContainergetContainer()
StringgetId()
LifecycleHandlergetLifecycleHandler()
voidinitialize()
voidrelease(Object component)
voidsetup(MutablePlexusContainer container, LifecycleHandler lifecycleHandler, ComponentDescriptor componentDescriptor)

Field Detail

ROLE

public String ROLE

Method Detail

copy

public ComponentManager copy()

dispose

public void dispose()

getComponent

public Object getComponent()

getComponent

public Object getComponent(ClassRealm realm)

getComponentDescriptor

public ComponentDescriptor getComponentDescriptor()

getConnections

public int getConnections()

getContainer

public MutablePlexusContainer getContainer()

getId

public String getId()

getLifecycleHandler

public LifecycleHandler getLifecycleHandler()

initialize

public void initialize()

release

public void release(Object component)

setup

public void setup(MutablePlexusContainer container, LifecycleHandler lifecycleHandler, ComponentDescriptor componentDescriptor)