public static class PluginServiceHub.DefaultImpls
A service hub to be used by the class CordaPluginRegistry
class CordaPluginRegistry
Modifier and Type | Method and Description |
---|---|
static java.security.KeyPair |
getLegalIdentityKey(PluginServiceHub $this) |
static java.security.KeyPair |
getNotaryIdentityKey(PluginServiceHub $this) |
static TransactionState<?> |
loadState(PluginServiceHub $this,
StateRef stateRef) |
static void |
recordTransactions(PluginServiceHub $this,
net.corda.core.transactions.SignedTransaction txs) |
static void |
registerFlowInitiator(PluginServiceHub $this,
kotlin.reflect.KClass<?> markerClass,
kotlin.jvm.functions.Function1<? super net.corda.core.crypto.Party,? extends net.corda.core.flows.FlowLogic<?>> flowFactory)
Deprecated.
|
static <T extends ContractState> |
toStateAndRef(PluginServiceHub $this,
StateRef ref) |
public static void registerFlowInitiator(PluginServiceHub $this, kotlin.reflect.KClass<?> markerClass, kotlin.jvm.functions.Function1<? super net.corda.core.crypto.Party,? extends net.corda.core.flows.FlowLogic<?>> flowFactory)
public static void recordTransactions(PluginServiceHub $this, net.corda.core.transactions.SignedTransaction txs)
public static TransactionState<?> loadState(PluginServiceHub $this, StateRef stateRef)
public static <T extends ContractState> StateAndRef<T> toStateAndRef(PluginServiceHub $this, StateRef ref)
public static java.security.KeyPair getLegalIdentityKey(PluginServiceHub $this)
public static java.security.KeyPair getNotaryIdentityKey(PluginServiceHub $this)