Roland
dca309c535
incorporate Patrik’s feedback
...
- rename to DynamicAccess
- rename to createInstanceFor / createClassFor
- fix a few little things
2012-02-10 11:36:23 +01:00
Roland
2ce47d6bb5
Bye-bye ReflectiveAccess, introducing PropertyMaster, see #1750
...
- PropertyMaster is the only place in Akka which calls
ClassLoader.getClass (apart from kernel, which might be special)
- all PropertyMaster methods (there are only three) take a ClassManifest
of what is to be constructed, and they verify that the obtained object
is actually compatible with the required type
Other stuff:
- noticed that I had forgotten to change to ExtendedActorSystem when
constructing Extensions by ExtensionKey (damn you, reflection!)
- moved Serializer.currentSystem into JavaSerializer, because that’s the
only one needing it (it’s only used in readResolve() methods)
- Serializers are constructed now with one-arg constructor taking
ExtendedActorSystem (if that exists, otherwise no-arg as before), to
allow JavaSerializer to do its magic; possibly necessary for others as
well
- Removed all Option[ClassLoader] signatures
- made it so that the ActorSystem will try context class loader, then
the class loader which loaded the class actually calling into
ActorSystem.apply, then the loader which loaded ActorSystemImpl
- for the second of the above I added a (reflectively accessed hopefully
safe) facility for getting caller Class[_] objects by using
sun.reflect.Reflection; this is optional an defaults to None, e.g. on
Android, which means that getting the caller’s classloader is done on
a best effort basis (there’s nothing we can do because a StackTrace
does not contain actual Class[_] objects).
- refactored DurableMailbox to contain the owner val and use that
instead of declaring that in all subclasses
2012-02-09 11:56:43 +01:00
Roland
9ba5043539
add router design rationale, see #1772
2012-02-06 12:18:08 +01:00
Patrik Nordwall
612e909c48
Find serializer by looking at interfaces and super classes. See #1766
2012-02-03 17:32:32 +01:00
Roland
45140b465e
Merge remote-tracking branch 'origin/master' into wip-1644-programmatic-deploy-∂π
2012-02-03 09:49:04 +01:00
Viktor Klang
8193e61aee
Renaming tryRecover to recoverWith as in SIP14, adding parameter to foreach
2012-02-03 09:25:56 +01:00
Roland
76bba1f530
remote deploy docs & provider.getExternalAddressFor (see #1765 )
2012-02-03 09:16:18 +01:00
Viktor Klang
75e90cccdf
Cleaning up the code
2012-02-01 14:04:01 +01:00
Viktor Klang
0c02adaa75
Merge branch 'master' into wip-1735-fix-pipe-to-√
2012-02-01 12:05:54 +01:00
Viktor Klang
937ecc3f50
Adding composable actor code snippet to docs, case closed
2012-02-01 11:46:46 +01:00
Roland
983a6d3ace
FSM: remove Ev extractor and move -> into companion object, see #1759
2012-01-31 21:48:24 +01:00
Viktor Klang
571af3d8d2
Removing pipeTo from akka.actor, renamed pipeTo(f,a) to pipe(f,a)
2012-01-31 18:56:25 +01:00
Viktor Klang
815245a133
Merging with master
2012-01-31 17:56:49 +01:00
Viktor Klang
92426a82d9
Renaming Future.or to fallbackTo
2012-01-31 17:19:38 +01:00
Viktor Klang
8cd033bb17
Merge branch 'master' into wip-fix-futures-√
2012-01-31 16:10:14 +01:00
Viktor Klang
e32adebfd9
Adding doc to andThen and tryRecover
2012-01-31 15:23:00 +01:00
viktorklang
2169ce4b76
Merge pull request #280 from jboner/wip-1728-fjpool-√
...
Wip 1728 fjpool √
2012-01-31 01:22:51 -08:00
Patrik Nordwall
269ff0aa96
ZeroMQ module's ConcurrentSocketActorSpec fails.
...
* Fixed usage of extension. See #1746
* Clarified usage of load extensions in docs. See #1745
2012-01-30 16:55:03 +01:00
Viktor Klang
465c29107d
Migrating tests to use the new config for dispatchers
2012-01-30 16:34:25 +01:00
Patrik Nordwall
c1178c9b1a
DOC: Better use of pipeTo in FaultHandlingDocSample
2012-01-30 11:56:09 +01:00
patriknw
ef80eb1ccd
Merge pull request #267 from jboner/wip-1722-fault-sample-java-patriknw
...
DOC: Java version of the fault tolerance sample. See #1722
2012-01-26 05:39:34 -08:00
Patrik Nordwall
60fd3c2964
Removed the need for passing in 'this' as log source to LoggingReceive. See #1720
2012-01-26 13:24:48 +01:00
Patrik Nordwall
52aa4f2a64
LoggingReceive with implicit ActorContext instead of ActorSystem. See #1720
2012-01-26 10:58:35 +01:00
Patrik Nordwall
2aa72993d6
Rearanged declaration of messages. Improvements from review. See #1722
2012-01-26 09:28:37 +01:00
Patrik Nordwall
4e0bd947be
DOC: Java version of the fault tolerance sample. See #1722
2012-01-25 18:17:16 +01:00
Derek Williams
2ac8a25b72
More work on IO reST docs
2012-01-24 13:37:26 -07:00
Patrik Nordwall
96e072602e
DOC: Typo
2012-01-24 17:44:01 +01:00
patriknw
11b489eefd
Merge pull request #257 from jboner/wip-1574-fault-tolerance-sample-patriknw
...
DOC: Added new fault handling sample. See #1574
2012-01-24 08:20:25 -08:00
Patrik Nordwall
e4cd3c3277
Minor adjustments based on feedback. See #1574
2012-01-24 17:16:11 +01:00
Viktor Klang
eca809675a
Merge branch 'master' into wip-1537-moar-futuredocs-√
2012-01-24 16:31:52 +01:00
Roland Kuhn
1399b048e1
Merge pull request #251 from jboner/wip-1719-ExtendedActorSystem-∂π
...
add ExtendedActorSystem to shield ActorSystemImpl
2012-01-24 06:36:05 -08:00
Viktor Klang
28dfdaba32
Correcting after review
2012-01-24 15:03:32 +01:00
Patrik Nordwall
4c6eba57db
DOC: Added new fault handling sample. See #1574
2012-01-24 14:43:33 +01:00
Roland Kuhn
dcdbca1167
Merge pull request #250 from jboner/wip-1714-withinTimeRange-patriknw
...
Improved API of OneForOneStrategy and AllForOneStrategy. See #1714
2012-01-24 04:13:36 -08:00
Viktor Klang
36ef8820b8
Adding docs and samples for onSuccess, onFailure, onComplete, filter, or, zip and successful/failed
2012-01-24 12:13:13 +01:00
Roland
d5c23bcb76
add ExtendedActorSystem to shield ActorSystemImpl
...
- add provider, guardian, systemGuardian and deathWatch to it
- make ActorSystemImpl extend ExtendedActorSystem
- use ExtendedActorSystem for creating extensions, thereby limiting the
access extensions get to just those four published methods.
2012-01-24 11:33:40 +01:00
Patrik Nordwall
2a6b7f9b03
Moved decider to separate parameter list, and implicit conversion from Seq[Throwable]. See #1714
2012-01-24 10:35:09 +01:00
Roland
ee5ae1068b
Merge branch 'wip-1485-fsm-docs-∂π'
2012-01-24 09:35:35 +01:00
Patrik Nordwall
abc072ef0a
Improved API of OneForOneStrategy and AllForOneStrategy. See #1714
...
* withinTimeRange: Duration
* Removed need for Options in API
2012-01-24 08:46:27 +01:00
Roland
2a0c4ca145
Merge branch 'wip-1581-patterns-ask'
2012-01-23 18:35:30 +01:00
Roland
e087c6fd8c
include FSMDocSpec example in fsm.rst and fix a few outdated things
2012-01-23 17:43:30 +01:00
patriknw
d21d03207f
Merge pull request #247 from jboner/wip-1711-supervisorStrategy-patriknw
...
FaultHandler as method in Actor instead of in Props. See #1711
2012-01-23 08:40:59 -08:00
Patrik Nordwall
9e15d2062b
Renamed more things to SupervisorStrategy. Updated more docs. See #1711
2012-01-23 17:18:49 +01:00
patriknw
45d178c276
Merge pull request #236 from jboner/wip-1702-settings-ext-patriknw
...
DOC: Extension sample for application specific settings. See #1702
2012-01-23 07:12:49 -08:00
Roland
5e11b2df9d
add FSMDocSpec and improve FSM API
...
- don’t require Option[Duration] and its implicit conversion
- provider “->” extractor inside the FSM trait
2012-01-23 15:37:43 +01:00
Patrik Nordwall
66e0a7cf0b
Moved definition of fault handler from Props to overridable method supervisorStrategy in Actor. See #1711
...
* New trait SupervisorStrategy for TypedActors
* Adjustments of docs
* Updated tests
2012-01-23 13:49:19 +01:00
Viktor Klang
f8186e53d7
Merging in master
2012-01-23 11:30:36 +01:00
Patrik Nordwall
6a4d7f547c
Improvement based on feedback. See #1702
2012-01-21 11:05:30 +01:00
Viktor Klang
1333700c0d
Unborkening master
2012-01-20 19:52:50 +01:00
Roland
34a0f005b1
Merge branch 'master' into wip-1581-patterns-ask
2012-01-20 19:29:17 +01:00