CordappContext

An app context provides information about where an app was loaded from, access to its classloader, and (in the included Cordapp object) lists of annotated classes discovered via scanning the JAR.

A CordappContext is obtained from CordappProvider.getAppContext which resides on a ServiceHub. This will be used primarily from within flows.

Constructors

Link copied to clipboard
constructor(cordapp: Cordapp, attachmentId: SecureHash?, classLoader: ClassLoader)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

For CorDapps containing Contract or UpgradedContract implementations this will be populated with the attachment containing those class files

Link copied to clipboard

the classloader used to load this cordapp's classes

Link copied to clipboard

Configuration for this CorDapp

Link copied to clipboard

The cordapp this context is about