com.r3corda.core.protocols / ProtocolLogicRefFactory / <init>

# <init>

`ProtocolLogicRefFactory()`
`ProtocolLogicRefFactory(protocolLogicClassNameWhitelist: Set<String>, argsClassNameWhitelist: Set<String>)`

A class for conversion to and from ProtocolLogic and ProtocolLogicRef instances

Validation of types is performed on the way in and way out in case this object is passed between JVMs which might have differing whitelists.

TODO: Ways to populate whitelist of "blessed" protocols per node/party TODO: Ways to populate argument types whitelist. Per node/party or global? TODO: Align with API related logic for passing in ProtocolLogic references (ProtocolRef) TODO: Actual support for AppContext / AttachmentsClassLoader