Skip to content

com.github.manosbatsis.corda.testacles.nodedriver / TestaclesSerializationEnvironment

TestaclesSerializationEnvironment

class TestaclesSerializationEnvironment : SerializationEnvironment,AutoCloseable

A SerializationEnvironment implementation based on class from net.corda.testing.node.internal.DriverSerializationEnvironment and updated to restore the previous _driverSerializationEnv when closed.

Constructors

Name Summary
<init> TestaclesSerializationEnvironment(classLoader:ClassLoader?, targetSerializationEnv: ToggleField<SerializationEnvironment> = _driverSerializationEnv)
A SerializationEnvironment implementation based on class from net.corda.testing.node.internal.DriverSerializationEnvironment and updated to restore the previous _driverSerializationEnv when closed.

Properties

Name Summary
previousSerializationEnvironment var previousSerializationEnvironment: SerializationEnvironment?
targetSerializationEnv val targetSerializationEnv: ToggleField<SerializationEnvironment>

Functions

Name Summary
close fun close():Unit
enable fun enable():TestaclesSerializationEnvironment