Commit graph

207 commits

Author SHA1 Message Date
Jonas Bonér
80600abc33 Added 'withRouter[TYPE]' to 'Props'.
Added docs (Scala and Java) and (code for the docs) for 'Props'.
Renamed UntypedActorTestBase to UntypedActorDocTestBase.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-14 14:05:44 +01:00
Viktor Klang
89e29b07e1 Adding daemonicity to the dispatcher configurator 2011-12-13 20:24:09 +01:00
Jonas Bonér
b5d1785e05 Merge branch 'master' of github.com:jboner/akka
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 15:37:16 +01:00
Jonas Bonér
8c8680473a Merge branch 'wip-clean-up-actor-cell-jboner'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 15:14:23 +01:00
patriknw
2f8706ee3a Merge pull request #149 from jboner/wip-doc-dispatchers-scala-patriknw
DOC: Update Dispatchers (Scala) Chapter
2011-12-13 06:05:47 -08:00
Patrik Nordwall
7a17eb00bf DOC: Corrections of dispatcher docs from review. See #1471 2011-12-13 15:03:32 +01:00
Jonas Bonér
d725c9c681 Updated docs with changes to 'actorOf(Props(..))'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 14:53:18 +01:00
Patrik Nordwall
0f41cee6de Split logging doc into scala and java. See #1467 2011-12-13 14:46:15 +01:00
Jonas Bonér
c9b787f029 Removed all 'actorOf' methods that does not take a 'Props', and changed all callers to use 'actorOf(Props(..))'
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-12-13 14:09:40 +01:00
Jonas Bonér
86a5114d79 Cleaned up ActorCell, removed all Java-unfriendly methods 2011-12-13 11:11:21 +01:00
Patrik Nordwall
b500f4af3a DOC: Removed stability-matrix 2011-12-13 08:09:54 +01:00
Patrik Nordwall
eede488fd3 Added lookup method in Dispatchers to provide a registry of configured dispatchers to be shared between actors. See #1458 2011-12-13 07:37:23 +01:00
Patrik Nordwall
03e731e098 DOC: Update Dispatchers (Scala) Chapter. See #1471 2011-12-13 07:37:23 +01:00
Patrik Nordwall
9098f30524 DOC: Disabled stm and transactors documentation 2011-12-12 14:21:03 +01:00
Patrik Nordwall
d92c52b1b5 DOC: Removed old migration guides and release notes. See #1455 2011-12-12 12:33:39 +01:00
Patrik Nordwall
4df0ec5823 DOC: Removed most of http docs. See #1455 2011-12-12 12:27:45 +01:00
Patrik Nordwall
ad0a67c77d DOC: Removed actor registry. See #1455 2011-12-12 12:19:20 +01:00
Patrik Nordwall
92a0fa7e8e DOC: Removed tutorial chat server. See #1455 2011-12-12 12:18:14 +01:00
patriknw
02889404fe Merge pull request #143 from jboner/wip-1435-doc-java-actors-patriknw
Updated documentation of Actors (Java). See #1435
2011-12-09 04:32:24 -08:00
Patrik Nordwall
884dc43a7d DOC: Replace all akka.conf references. Fixes #1469
* Let us use :ref:`configuration` in all places to refer to the configuration.
2011-12-09 13:27:27 +01:00
Patrik Nordwall
9fdf9a9c66 Removed mist from docs. See #1455 2011-12-09 12:41:08 +01:00
Patrik Nordwall
09719af11a From review comments 2011-12-09 12:29:32 +01:00
Patrik Nordwall
ce128740ab Updated documentation of Actors (Java). See #1435
* Aligned the Java and Scala documentation for Actors
* Implemented hotswap samples in Java, and documented in same way as Scala docs
* Improved Actors (Scala) docs
* Fixed wrong preRestart and postRestart in UntypedActor
* Changed name of Dispatchers.fromConfig to newFromConfig and made it Java friendly
* Added ActorRef.ask with Timeout parameter in addition to the timeoutMillis
2011-12-08 19:30:04 +01:00
Viktor Klang
9cc8b67cf4 Merging in the hotswap docs into master 2011-12-08 15:12:54 +01:00
Viktor Klang
519aa39f18 Removing 1-entry lists 2011-12-08 15:03:23 +01:00
Viktor Klang
6cdb0126ad Removing HotSwap and revertHotSwap 2011-12-08 14:44:18 +01:00
patriknw
738857ccc2 Merge pull request #137 from jboner/wip-1435-doc-scala-actors-patriknw
Updated documentation of Actors Scala. See #1435
2011-12-07 08:11:06 -08:00
Patrik Nordwall
c8472826fe Fixed review comments 2011-12-07 16:44:52 +01:00
viktorklang
bf3ce9bb87 Merge pull request #138 from jboner/wip-reset_behaviors_on_restart
#1429 - reverting hotswap on restart and termination
2011-12-07 05:23:00 -08:00
Viktor Klang
119ceb0278 Since there is no user API for remoting anymore, remove the old docs 2011-12-07 13:40:29 +01:00
Viktor Klang
2872d8b987 #1339 - adding docs to testing.rst describing how to get testActor to be the implicit sender in TestKit tests 2011-12-07 13:36:53 +01:00
Viktor Klang
4084c017a3 Adding docs to clarify that restarting resets the actor to the original behavior 2011-12-07 13:30:56 +01:00
Patrik Nordwall
5cee76820e Updated documentation of Actors Scala. See #1435 2011-12-07 11:56:58 +01:00
Patrik Nordwall
f7d6393027 Removed actorOf methods from AkkaSpec. See #1439 2011-12-07 11:10:54 +01:00
Patrik Nordwall
3204269f6a Cleanup of methods in Actor and ActorContext trait. See #1377
* Added JavaActorContext, UntypedActor.getContext
* implicit val context in Actor needs to be implicit to support forward,
it would be nice if it wasn't implicit because now I can't override context
in UntypedActor
* Removed implicit def system in Actor
* Removed implicit def defaultTimeout in Actor
* Removed receiveTimeout, children, dispatcher, become, unbecome, watch,
unwatch in Actor
* Removed corresponding as above from UntypedActor
* Removed implicit from dispatcher in ActorSystem
* Removed implicit def timeout in TypedActor
* Changed receiveTimeout to use Duration (in api)
* Changed many tests and samples to match new api
2011-12-06 09:50:16 +01:00
Patrik Nordwall
82bbca43ab Merge branch 'master' into wip-1378-fixme-patriknw
Conflicts:
	akka-actor/src/main/scala/akka/actor/ActorRef.scala
	akka-remote/src/main/scala/akka/remote/RemoteActorRefProvider.scala
	akka-remote/src/main/scala/akka/remote/netty/NettyRemoteSupport.scala
2011-12-02 09:03:03 +01:00
Viktor Klang
d626cc2455 Removing suspend and resume from user-facing API 2011-12-02 01:27:42 +01:00
Viktor Klang
879ea7c2b4 Removing startsWatching and stopsWatching from docs and removing cruft 2011-12-02 01:04:33 +01:00
Patrik Nordwall
80ac1737cd First walk throught of FIXME. See #1378
* Fixed obvious
* Created tickets for several, #1408, #1409, #1410, #1412, #1415, 1416, #1418
* Moved LoggingReceive from akka.actor to akka.event
* Touched several of the FIXME to make them visible in code review
2011-11-30 10:48:26 +01:00
Patrik Nordwall
19a78c0e58 Slf4jEventHandler should not format log message. See #1401
* Updated documentation with info about MDC.
* Updated documentation conf of logLevel.
* Updated documentation Logback 1.0.0.
2011-11-28 10:07:30 +01:00
Patrik Nordwall
a9217cec7b Merge branch 'master' into wip-1141-config-patriknw
Conflicts:
	akka-actor/src/main/scala/akka/actor/ActorSystem.scala
2011-11-19 09:18:57 +01:00
Patrik Nordwall
7999c4c195 Docs: Changed organization id from se.scalablesolutions.akka to com.typesafe.akka 2011-11-18 13:21:23 +01:00
Patrik Nordwall
3d6c0fbae6 Removed unecessary import 2011-11-18 11:34:52 +01:00
Patrik Nordwall
4b8f11ea92 Replaced akka.config with new configuration utility. See #1141 and see #1342
* All default values removed from code and loaded from akka-actor-reference.conf, located in src/main/resources (included in jar)
* Default test configuration included in AkkaSpec instead of using akka.test.conf, avoids problems when running test (in IDE) and forgetting to use -Dakka.mode=test.
* System.properties used first, if availble
* Next step will be to split akka-actor-reference.conf in separate -reference for each module
2011-11-18 10:05:40 +01:00
Roland
62032cb1ff merge system-cleanup into master 2011-11-17 14:38:49 +01:00
Roland
648661c548 clean up initialization of ActorSystem, fixes #1050
- create ActorSystemImpl trait to make ActorSystem fully abstract
- add Java API for constructing (ActorSystem.create(...))
- only go through factory methods because .start() has become necessary
- rename all user-facing occurrences of “app” to “system” (Actor trait
  and TestKit/AkkaSpec)
- pass ActorSystemImpl to ActorRefs upon creation, which means that
  actorOf() and friends need such an argument, which must be provided to
  the ActorRefProvider by the ActorRefFactory implementation
2011-11-16 17:18:36 +01:00
Viktor Klang
18bfa26272 Renaming startsMonitoring/stopsMonitoring to startsWatching and stopsWatching 2011-11-16 16:46:16 +01:00
Roland
53353d7031 rename MainBus to EventStream (incl. field in ActorSystem) 2011-11-10 21:01:37 +01:00
Roland
70ae4e1984 Merge branch 'logging'
known failures in BalancingDispatcherModelSpec and ActorPoolSpec have
tickets
2011-11-09 18:18:32 +01:00
Roland
a747ef7856 Merge remote branch 'origin/master' into logging
BalancingDispatcherModelSpec is currently broken, leaves count==1 in
wavesOfActors test, committed anyway in order to check out where it
broke before this merge
2011-11-09 14:56:05 +01:00