io.airlift.bootstrap
Class LifeCycleModule
java.lang.Object
io.airlift.bootstrap.LifeCycleModule
- All Implemented Interfaces:
- com.google.inject.Module
public class LifeCycleModule
- extends Object
- implements com.google.inject.Module
Guice module for binding the LifeCycle manager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifeCycleModule
public LifeCycleModule()
configure
public void configure(com.google.inject.Binder binder)
- Specified by:
configure in interface com.google.inject.Module
getServerManager
@Provides
public LifeCycleManager getServerManager()
throws Exception
- Throws:
Exception
Copyright © 2010-2012 Airlift. All Rights Reserved.