Class RegisterSpawnProtocolModule<T>

java.lang.Object
com.google.inject.AbstractModule
me.dmmax.akka.spawn.protocol.guice.RegisterSpawnProtocolModule<T>
Type Parameters:
T - - actor type
All Implemented Interfaces:
com.google.inject.Module

public class RegisterSpawnProtocolModule<T> extends com.google.inject.AbstractModule
Guice module to register spawn protocol for a specific type of actor.
  • Constructor Summary

    Constructors
    Constructor
    Description
    RegisterSpawnProtocolModule(Class<T> actorType, me.dmmax.akka.spawn.protocol.SpawnCommandConverter<T> spawnCommandConverter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    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, requestStaticInjection, requireBinding, requireBinding

    Methods inherited from class java.lang.Object

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

    • RegisterSpawnProtocolModule

      public RegisterSpawnProtocolModule(Class<T> actorType, me.dmmax.akka.spawn.protocol.SpawnCommandConverter<T> spawnCommandConverter)
      Parameters:
      actorType - – actor type
      spawnCommandConverter - – command converter which wraps SpawnActorCommand to actor message type
  • Method Details

    • configure

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