public class LifecycleManager extends Object implements AutoCloseable
Constructor and Description |
---|
LifecycleManager() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the lifecycle manager, shutting down all components it manages.
|
void |
registerComponent(Object instance)
Register a component with the lifecycle manager.
|
public void registerComponent(Object instance)
instance
- The component to register.public void close()
close
in interface AutoCloseable
Copyright © 2016 GroupLens Research. All rights reserved.