corda / net.corda.core.context / InvocationContext / service

service

@JvmStatic fun service(serviceClassName: String, owningLegalIdentity: CordaX500Name, trace: Trace = Trace.newInstance(), externalTrace: Trace? = null): InvocationContext

Creates an InvocationContext with InvocationOrigin.Service origin.