com.threerings.presents.server
Class PresentsServer.PresentsServerModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by com.threerings.presents.server.PresentsServer.PresentsServerModule
All Implemented Interfaces:
com.google.inject.Module
Enclosing class:
PresentsServer

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

Binds PresentsServer to a particular class.


Field Summary
protected  Class<? extends PresentsServer> _serverType
           
 
Constructor Summary
PresentsServer.PresentsServerModule(Class<? extends PresentsServer> serverType)
           
 
Method Summary
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
 

Field Detail

_serverType

protected final Class<? extends PresentsServer> _serverType
Constructor Detail

PresentsServer.PresentsServerModule

public PresentsServer.PresentsServerModule(Class<? extends PresentsServer> serverType)
Method Detail

configure

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