org.codehaus.plexus.component.manager
Class PerLookupComponentManager<T>
java.lang.Object
org.codehaus.plexus.component.manager.AbstractComponentManager<T>
org.codehaus.plexus.component.manager.PerLookupComponentManager<T>
- All Implemented Interfaces:
- ComponentManager<T>
public class PerLookupComponentManager<T>
- extends AbstractComponentManager<T>
Creates a new component manager for every lookup
- Version:
- $Id$
- Author:
- Jason van Zyl
Methods inherited from class org.codehaus.plexus.component.manager.AbstractComponentManager |
connected, createComponentInstance, decrementConnectionCount, dissociateComponentRealm, endComponentLifecycle, getComponentDescriptor, getConnections, getContainer, getLifecycleHandler, getLogger, getRealm, getRole, getRoleHint, getStartId, getType, incrementConnectionCount, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerLookupComponentManager
public PerLookupComponentManager(MutablePlexusContainer container,
LifecycleHandler lifecycleHandler,
ComponentDescriptor<T> componentDescriptor,
String role,
String roleHint)
dispose
public void dispose()
getComponent
public T getComponent()
throws ComponentInstantiationException,
ComponentLifecycleException
- Throws:
ComponentInstantiationException
ComponentLifecycleException
release
public void release(Object component)
throws ComponentLifecycleException
- Throws:
ComponentLifecycleException
Copyright © 2001–2014 Codehaus. All rights reserved.