Package com.fourtyfourblocks.akka.di

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

Related Classes of com.fourtyfourblocks.akka.di.DiAwareCreatorFactory

Copyright © 2018 www.massapicom. 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.