Class CarpPekkoSpringActorProducer
java.lang.Object
cn.sliew.carp.framework.pekko.spring.CarpPekkoSpringActorProducer
- All Implemented Interfaces:
org.apache.pekko.actor.IndirectActorProducer
public class CarpPekkoSpringActorProducer
extends Object
implements org.apache.pekko.actor.IndirectActorProducer
参考 https://www.baeldung.com/akka-with-spring
-
Constructor Summary
ConstructorsConstructorDescriptionCarpPekkoSpringActorProducer(org.springframework.context.ApplicationContext applicationContext, String beanActorName) CarpPekkoSpringActorProducer(org.springframework.context.ApplicationContext applicationContext, String beanActorName, Object... args) -
Method Summary
-
Constructor Details
-
CarpPekkoSpringActorProducer
public CarpPekkoSpringActorProducer(org.springframework.context.ApplicationContext applicationContext, String beanActorName) -
CarpPekkoSpringActorProducer
-
-
Method Details
-
produce
public org.apache.pekko.actor.Actor produce()- Specified by:
producein interfaceorg.apache.pekko.actor.IndirectActorProducer
-
actorClass
- Specified by:
actorClassin interfaceorg.apache.pekko.actor.IndirectActorProducer
-