@Target([AnnotationTarget.CLASS]) annotation class CordaSerializationTransformRename
This annotation is used to mark a class has having had a property element. It is used by the AMQP deserializer to allow instances with different versions of the class on their Class Path to successfully deserialize the object.
NOTE: Renaming of the class itself isn't done with this annotation or, at present, supported by Corda
CordaSerializationTransformRename(to: String, from: String)
This annotation is used to mark a class has having had a property element. It is used by the AMQP deserializer to allow instances with different versions of the class on their Class Path to successfully deserialize the object. |
val from: String
String representation of the properties old new |
|
val to: String
String representation of the properties new name |
fun Any.contextLogger(): <ERROR CLASS>
When called from a companion object, returns the logger for the enclosing class. |