corda / net.corda.core.cordapp

Package net.corda.core.cordapp

This package contains the interface to CorDapps from within a node. A CorDapp can access it's own context by using the CordappProvider.getAppContext() class. These classes are not intended to be constructed manually and no interface to do this will be provided.

Types

Cordapp

interface Cordapp

Represents a cordapp by registering the JAR that contains it and all important classes for Corda. Instances of this class are generated automatically at startup of a node and can get retrieved from CordappProvider.getAppContext from the CordappContext it returns.

CordappContext

class 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.

CordappProvider

interface CordappProvider

Provides access to what the node knows about loaded applications.