mid jax-rs impl
This commit is contained in:
parent
8c8ba29afc
commit
b38ac067cb
17 changed files with 512 additions and 558 deletions
|
|
@ -84,12 +84,13 @@ object ActiveObject {
|
|||
/**
|
||||
* @author <a href="http://jonasboner.com">Jonas Bonér</a>
|
||||
*/
|
||||
// FIXME: use interface for ActiveObjectGuiceConfigurator
|
||||
|
||||
// FIXME: STM that allows concurrent updates, detects collision, rolls back and restarts
|
||||
class ActiveObjectProxy(val intf: Class[_], val target: Class[_], val timeout: Int) extends InvocationHandler {
|
||||
import ActiveObject.threadBoundTx
|
||||
|
||||
private[this] var activeTx: Option[Transaction] = None
|
||||
private[this] var targetInstance: AnyRef = _
|
||||
private[akka] var targetInstance: AnyRef = _
|
||||
|
||||
private[akka] def setTargetInstance(instance: AnyRef) = {
|
||||
targetInstance = instance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue