public class CuratorModule extends Object implements com.google.inject.Module
| Constructor and Description |
|---|
CuratorModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(com.google.inject.Binder binder) |
org.apache.curator.framework.CuratorFramework |
makeCurator(CuratorConfig config,
com.metamx.common.lifecycle.Lifecycle lifecycle) |
public void configure(com.google.inject.Binder binder)
configure in interface com.google.inject.Module@Provides public org.apache.curator.framework.CuratorFramework makeCurator(CuratorConfig config, com.metamx.common.lifecycle.Lifecycle lifecycle) throws IOException
IOExceptionCopyright © 2011–2015. All rights reserved.