io.airlift.bootstrap
Class LifeCycleModule

java.lang.Object
  extended by 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


Constructor Summary
LifeCycleModule()
           
 
Method Summary
 void configure(com.google.inject.Binder binder)
           
 LifeCycleManager getServerManager()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifeCycleModule

public LifeCycleModule()
Method Detail

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.