Made ActiveObject non-advisable in AW terms
This commit is contained in:
parent
716229c8b8
commit
2fb619bffe
1 changed files with 2 additions and 2 deletions
|
|
@ -271,7 +271,7 @@ object ActiveObject {
|
|||
}
|
||||
|
||||
private[akka] def newInstance[T](target: Class[T], actor: Dispatcher, remoteAddress: Option[InetSocketAddress], timeout: Long): T = {
|
||||
val proxy = Proxy.newInstance(target, false, true)
|
||||
val proxy = Proxy.newInstance(target, false, false)
|
||||
actor.initialize(target, proxy)
|
||||
actor.timeout = timeout
|
||||
if (remoteAddress.isDefined) {
|
||||
|
|
@ -283,7 +283,7 @@ object ActiveObject {
|
|||
}
|
||||
|
||||
private[akka] def newInstance[T](intf: Class[T], target: AnyRef, actor: Dispatcher, remoteAddress: Option[InetSocketAddress], timeout: Long): T = {
|
||||
val proxy = Proxy.newInstance(Array(intf), Array(target), false, true)
|
||||
val proxy = Proxy.newInstance(Array(intf), Array(target), false, false)
|
||||
actor.initialize(target.getClass, target)
|
||||
actor.timeout = timeout
|
||||
if (remoteAddress.isDefined) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue