Permalink
Browse files

Added licence + a little information to the introduction

  • Loading branch information...
1 parent 64b33c4 commit fe7d836d7f439366ac58d21c22a7e0135c46bde2 @henrikengstrom committed Sep 6, 2012
Showing with 26 additions and 0 deletions.
  1. +10 −0 GREEN_BELT_AKKA.md
  2. +16 −0 LICENSE
View
@@ -105,3 +105,13 @@ See [Scheduler](http://doc.akka.io/docs/akka/2.0.3/scala/scheduler.html)
```
system.scheduler.schedule(2 seconds, 2 seconds, actor, "every other second message")
```
+
+**Retrieving properties**
+
+As you can see in the code there are some properties predefined in the ``application.conf`` file. To retrieve these properties, in the context of an actor, you can use the following:
+
+```
+context.system.settings.config.getString("...")
+
+```
+
View
16 LICENSE
@@ -0,0 +1,16 @@
+This software is licensed under the Apache 2 license, quoted below.
+
+Copyright 2009-2012 Typesafe Inc. [http://www.typesafe.com]
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+ [http://www.apache.org/licenses/LICENSE-2.0]
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations under
+the License.
+

0 comments on commit fe7d836

Please sign in to comment.