Skip to content

Instantly share code, notes, and snippets.

@skuenzli
Created January 20, 2016 03:50
Show Gist options
  • Select an option

  • Save skuenzli/2a73d485b67ca8492210 to your computer and use it in GitHub Desktop.

Select an option

Save skuenzli/2a73d485b67ca8492210 to your computer and use it in GitHub Desktop.
/**
* Create a Props for the specified actorBeanName using the
* SpringActorProducer class.
*
* @param actorBeanName The name of the actor bean to create Props for
* @return a Props that will create the named actor bean using Spring
*/
public Props props(String actorBeanName) {
return Props.create(SpringActorProducer.class, applicationContext, actorBeanName);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment