public static class NetworkMapCacheBase.DefaultImpls
Subset of interface NetworkMapCache
that doesn't depend on an interface IdentityService
.
Modifier and Type | Method and Description |
---|---|
static Party |
getNotary(NetworkMapCacheBase $this,
CordaX500Name name)
Look up a well known identity of notary by legal name.
|
static Party |
getPeerByLegalName(NetworkMapCacheBase $this,
CordaX500Name name)
Look up the well known identity of a legal name. This should be used in preference
to well known identity lookup in the identity service where possible, as the network map is the authoritative
source of well known identities.
|
static boolean |
isNotary(NetworkMapCacheBase $this,
Party party)
Returns true if and only if the given
class Party is a notary, which is defined by the network parameters. |
public static Party getPeerByLegalName(NetworkMapCacheBase $this, CordaX500Name name)
Look up the well known identity of a legal name. This should be used in preference to well known identity lookup in the identity service where possible, as the network map is the authoritative source of well known identities.
public static Party getNotary(NetworkMapCacheBase $this, CordaX500Name name)
Look up a well known identity of notary by legal name.
public static boolean isNotary(NetworkMapCacheBase $this, Party party)
Returns true if and only if the given class Party
is a notary, which is defined by the network parameters.
class Party