corda / net.corda.core.context / Actor

Actor

data class Actor

Models an initiator in Corda, can be a user, a service, etc.

Types

Id

data class Id

Actor id.

Constructors

<init>

Actor(id: Id, serviceId: AuthServiceId, owningLegalIdentity: CordaX500Name)

Models an initiator in Corda, can be a user, a service, etc.

Properties

id

val id: Id

owningLegalIdentity

val owningLegalIdentity: CordaX500Name

serviceId

val serviceId: AuthServiceId

Companion Object Functions

service

fun service(serviceClassName: String, owningLegalIdentity: CordaX500Name): Actor

Extension Functions

contextLogger

fun Any.contextLogger(): <ERROR CLASS>

When called from a companion object, returns the logger for the enclosing class.