public class DriftServerBinder extends Object
| Modifier and Type | Method and Description |
|---|---|
<T extends MethodInvocationFilter> |
bindFilter(Class<T> filterClass) |
<T extends MethodInvocationFilter> |
bindFilter(com.google.inject.Key<T> filterKey) |
void |
bindFilter(MethodInvocationFilter filter) |
<T> void |
bindService(Class<T> serverInterface) |
<T> void |
bindService(Class<T> serverInterface,
Class<? extends Annotation> annotationType) |
static DriftServerBinder |
driftServerBinder(com.google.inject.Binder binder) |
public static DriftServerBinder driftServerBinder(com.google.inject.Binder binder)
public <T> void bindService(Class<T> serverInterface)
public <T> void bindService(Class<T> serverInterface, Class<? extends Annotation> annotationType)
public void bindFilter(MethodInvocationFilter filter)
public <T extends MethodInvocationFilter> void bindFilter(Class<T> filterClass)
public <T extends MethodInvocationFilter> void bindFilter(com.google.inject.Key<T> filterKey)
Copyright © 2012–2018. All rights reserved.