Skip to content

Commit

Permalink
Added licence + a little information to the introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikengstrom committed Sep 6, 2012
1 parent 64b33c4 commit fe7d836
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
10 changes: 10 additions & 0 deletions GREEN_BELT_AKKA.md
Expand Up @@ -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("...")
```

16 changes: 16 additions & 0 deletions 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.