Class RpcModule

java.lang.Object
com.google.inject.AbstractModule
com.google.inject.servlet.ServletModule
org.gwizard.rpc.RpcModule
All Implemented Interfaces:
com.google.inject.Module

public class RpcModule extends com.google.inject.servlet.ServletModule
Sets up an RPC listener.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.google.inject.servlet.ServletModule

    com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder, com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default endpoint path is /rpc
    RpcModule(String endpoint)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    Methods inherited from class com.google.inject.servlet.ServletModule

    configure, filter, filter, filterRegex, filterRegex, getServletContext, serve, serve, serveRegex, serveRegex

    Methods inherited from class com.google.inject.AbstractModule

    addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RpcModule

      public RpcModule()
      Default endpoint path is /rpc
    • RpcModule

      public RpcModule(String endpoint)
      Parameters:
      endpoint - is the path at which rpc requests are listened for
  • Method Details

    • configureServlets

      protected void configureServlets()
      Overrides:
      configureServlets in class com.google.inject.servlet.ServletModule