From 7f93f560489f1047a67893a8fc48cf7b4f34a10f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Bone=CC=81r?= Date: Wed, 14 Dec 2011 15:22:04 +0100 Subject: [PATCH] Rearranged ordering of sections in untyped actor docs --- akka-docs/java/untyped-actors.rst | 34 +++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/akka-docs/java/untyped-actors.rst b/akka-docs/java/untyped-actors.rst index eddcadc9dc..f6af777acd 100644 --- a/akka-docs/java/untyped-actors.rst +++ b/akka-docs/java/untyped-actors.rst @@ -39,6 +39,23 @@ Here is an example: .. includecode:: code/akka/docs/actor/MyUntypedActor.java#my-untyped-actor +Props +----- + +``Props`` is a configuration class to specify options for the creation +of actors. Here are some examples on how to create a ``Props`` instance. + +.. includecode:: code/akka/docs/actor/UntypedActorDocTestBase.java#creating-props-config + + +Creating Actors with Props +-------------------------- + +Actors are created by passing in a ``Props`` instance into the ``actorOf`` factory method. + +.. includecode:: code/akka/docs/actor/UntypedActorDocTestBase.java#creating-props + + Creating Actors with default constructor ---------------------------------------- @@ -88,23 +105,6 @@ This way of creating the Actor is also great for integrating with Dependency Inj (DI) frameworks like Guice or Spring. -Props ------ - -``Props`` is a configuration class to specify options for the creation -of actors. Here are some examples on how to create a ``Props`` instance. - -.. includecode:: code/akka/docs/actor/UntypedActorDocTestBase.java#creating-props-config - - -Creating Actors with Props --------------------------- - -Actors are created by passing in a ``Props`` instance into the ``actorOf`` factory method. - -.. includecode:: code/akka/docs/actor/UntypedActorDocTestBase.java#creating-props - - UntypedActor API ================