public abstract class GrpcWebServerModule extends com.google.inject.AbstractModule implements com.google.inject.spi.InjectionListener<Object>, com.google.inject.spi.TypeListener
| Modifier and Type | Class and Description |
|---|---|
static class |
GrpcWebServerModule.Builder |
| Constructor and Description |
|---|
GrpcWebServerModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInjection(Object wsComponent) |
protected void |
configure() |
abstract String |
getApplicationName() |
abstract io.grpc.ServerBuilder<?> |
getGrpcExternalServerBuilder() |
abstract Optional<io.grpc.inprocess.InProcessServerBuilder> |
getGrpcInternalServerBuilder() |
abstract Optional<org.glassfish.jersey.server.ResourceConfig> |
getRestResourceConfig() |
abstract net.spals.appbuilder.graph.model.ServiceGraph |
getServiceGraph() |
abstract net.spals.appbuilder.config.service.ServiceScan |
getServiceScan() |
<I> void |
hear(com.google.inject.TypeLiteral<I> typeLiteral,
com.google.inject.spi.TypeEncounter<I> typeEncounter) |
abstract boolean |
isCorsEnabled() |
abstract boolean |
isRestServerEnabled() |
abstract boolean |
isWebServerAutoBindingEnabled() |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic abstract boolean isWebServerAutoBindingEnabled()
public abstract String getApplicationName()
public abstract io.grpc.ServerBuilder<?> getGrpcExternalServerBuilder()
public abstract net.spals.appbuilder.graph.model.ServiceGraph getServiceGraph()
public abstract net.spals.appbuilder.config.service.ServiceScan getServiceScan()
public abstract boolean isRestServerEnabled()
public abstract boolean isCorsEnabled()
public abstract Optional<io.grpc.inprocess.InProcessServerBuilder> getGrpcInternalServerBuilder()
public abstract Optional<org.glassfish.jersey.server.ResourceConfig> getRestResourceConfig()
protected void configure()
configure in class com.google.inject.AbstractModulepublic void afterInjection(Object wsComponent)
afterInjection in interface com.google.inject.spi.InjectionListener<Object>public <I> void hear(com.google.inject.TypeLiteral<I> typeLiteral,
com.google.inject.spi.TypeEncounter<I> typeEncounter)
hear in interface com.google.inject.spi.TypeListenerCopyright © 2018. All rights reserved.