public class ThriftServiceExporter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ThriftServiceExporter.ThriftServiceExport |
static class |
ThriftServiceExporter.ThriftServiceProcessorProvider |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventHandler(Class<? extends ThriftEventHandler> cls) |
void |
addEventHandler(com.google.inject.Key<? extends ThriftEventHandler> key) |
void |
addEventHandler(ThriftEventHandler handler) |
<T> void |
exportThriftService(Class<T> thriftServer) |
<T> void |
exportThriftService(Class<T> thriftServer,
Class<? extends Annotation> annotationType) |
<T> void |
exportThriftService(com.google.inject.Key<T> key) |
static ThriftServiceExporter |
thriftServerBinder(com.google.inject.Binder binder) |
public static ThriftServiceExporter thriftServerBinder(com.google.inject.Binder binder)
public <T> void exportThriftService(Class<T> thriftServer)
public <T> void exportThriftService(Class<T> thriftServer, Class<? extends Annotation> annotationType)
public <T> void exportThriftService(com.google.inject.Key<T> key)
public void addEventHandler(ThriftEventHandler handler)
public void addEventHandler(com.google.inject.Key<? extends ThriftEventHandler> key)
public void addEventHandler(Class<? extends ThriftEventHandler> cls)
Copyright © 2012-2016 Facebook, Inc.. All Rights Reserved.