Examples of DiAwareCreatorFactory


Examples of com.fourtyfourblocks.akka.di.DiAwareCreatorFactory

        return testActorRef;
    }

    protected <C extends GenericActor> TestActorRef<C> createTestActor(Class<C> clazz, String actorName)
    {
        final DiAwareCreatorFactory factory = injector.getInstance(DiAwareCreatorFactory.class);
        final Props props = Props.create(factory.creator(clazz));
        TestActorRef<C> testActorRef = TestActorRef.create(system, props, actorName);
        watchingProbe.watch(testActorRef);

        return testActorRef;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.