public class DefaultWhitelist
extends CordaPluginRegistry
Constructor and Description |
---|
DefaultWhitelist() |
Modifier and Type | Method and Description |
---|---|
boolean |
customizeSerialization(SerializationCustomization custom)
Optionally whitelist types for use in object serialization, as we lock down the types that can be serialized.
|
customizeSerialization, getRequiredFlows, getServicePlugins, getStaticServeDirs, getWebApis
public boolean customizeSerialization(SerializationCustomization custom)
Optionally whitelist types for use in object serialization, as we lock down the types that can be serialized.
For example, if you add a new ContractState it needs to be whitelisted. You can do that either by adding the @CordaSerializable annotation or via this method.