Sha256: 61c58f4f1f4927d3eec2515f3054ecebb70d091735d84f6670f6f8575fc5f3b1
Contents?: true
Size: 558 Bytes
Versions: 6
Compression:
Stored size: 558 Bytes
Contents
package com.game_machine.core; import akka.actor.IndirectActorProducer; import akka.actor.UntypedActor; import akka.actor.Actor; class ActorFactory implements IndirectActorProducer { final String beanName; private Object factory; public ActorFactory(Object factory, String beanName) { this.beanName = beanName; this.factory = factory; } @Override public Class<? extends Actor> actorClass() { return UntypedActor.class; } @Override public UntypedActor produce() { return ((IActorFactory)factory).create(); } }
Version data entries
6 entries across 6 versions & 1 rubygems