com.threerings.presents.server
Class PresentsServer.PresentsModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by com.threerings.presents.server.PresentsServer.PresentsModule
All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
CrowdServer.CrowdModule, Rejector.RejectorModule
Enclosing class:
PresentsServer

public static class PresentsServer.PresentsModule
extends com.google.inject.AbstractModule

Configures dependencies needed by the Presents services.


Constructor Summary
PresentsServer.PresentsModule()
           
 
Method Summary
protected  void bindInvokers()
          Binds just the invokers so this can be overridden if desired.
protected  void bindPeerInvoker()
          Binds just the peer invoker - we separate this from the others for legacy reasons.
protected  void configure()
           
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PresentsServer.PresentsModule

public PresentsServer.PresentsModule()
Method Detail

configure

protected void configure()
Specified by:
configure in class com.google.inject.AbstractModule

bindInvokers

protected void bindInvokers()
Binds just the invokers so this can be overridden if desired.


bindPeerInvoker

protected void bindPeerInvoker()
Binds just the peer invoker - we separate this from the others for legacy reasons.