corda / net.corda.core.flows / FlowLogicRefFactory / create

create

abstract fun create(flowClass: Class<out FlowLogic<*>>, vararg args: Any?): FlowLogicRef

Construct a FlowLogicRef. This is intended for cases where the calling code has the relevant class already and can provide it directly.

abstract fun create(flowClassName: String, vararg args: Any?): FlowLogicRef

Construct a FlowLogicRef. This is intended for cases where the calling code does not want to require the flow class on the classpath for all cases where the calling code is loaded.