org.sonatype.sisu.goodies.lifecycle
Interface LifecycleContainer
- All Known Subinterfaces:
- LifecycleManager
- All Known Implementing Classes:
- LifecycleManagerImpl, LifecycleShutdownManager
public interface LifecycleContainer
Container of Lifecycle
components.
- Since:
- 1.0
add
<T extends LifecycleAware> T add(T component)
add
LifecycleContainer add(LifecycleAware... components)
remove
<T extends LifecycleAware> T remove(T component)
remove
LifecycleContainer remove(LifecycleAware... components)
clear
void clear()
Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.