mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
Porting change to make JPA entities non-final and serializable.
This commit is contained in:
parent
89ecfb96c5
commit
558f5cddce
@ -5,6 +5,7 @@ import net.corda.core.contracts.ContractState
|
|||||||
import net.corda.core.crypto.SecureHash
|
import net.corda.core.crypto.SecureHash
|
||||||
import net.corda.core.doOnError
|
import net.corda.core.doOnError
|
||||||
import net.corda.core.flows.FlowLogic
|
import net.corda.core.flows.FlowLogic
|
||||||
|
import net.corda.core.flows.StateMachineRunId
|
||||||
import net.corda.core.identity.AbstractParty
|
import net.corda.core.identity.AbstractParty
|
||||||
import net.corda.core.identity.CordaX500Name
|
import net.corda.core.identity.CordaX500Name
|
||||||
import net.corda.core.internal.concurrent.doOnError
|
import net.corda.core.internal.concurrent.doOnError
|
||||||
@ -128,6 +129,8 @@ class RpcExceptionHandlingProxy(private val delegate: SecureCordaRPCOps) : Corda
|
|||||||
|
|
||||||
override fun isFlowsDrainingModeEnabled() = wrap(delegate::isFlowsDrainingModeEnabled)
|
override fun isFlowsDrainingModeEnabled() = wrap(delegate::isFlowsDrainingModeEnabled)
|
||||||
|
|
||||||
|
override fun killFlow(id: StateMachineRunId) = wrap { delegate.killFlow(id) }
|
||||||
|
|
||||||
override fun shutdown() = wrap(delegate::shutdown)
|
override fun shutdown() = wrap(delegate::shutdown)
|
||||||
|
|
||||||
private fun <RESULT> wrap(call: () -> RESULT): RESULT {
|
private fun <RESULT> wrap(call: () -> RESULT): RESULT {
|
||||||
|
Loading…
Reference in New Issue
Block a user