Package net.finmath.pontes.erc7573
Class YamlPontesAdapterConfiguration
java.lang.Object
net.finmath.pontes.erc7573.YamlPontesAdapterConfiguration
@EnableConfigurationProperties({PontesAdapterProperties.class,PontesLoggingProperties.class,PontesApiProperties.class,PontesBridgeProperties.class})
@ConditionalOnProperty(prefix="pontes.adapter",
name="enabled",
havingValue="true")
@Import(PontesConnectorServices.class)
public class YamlPontesAdapterConfiguration
extends Object
Composes local Pontes protocol functions with YAML bridge actions and OpenAPI endpoints.
Only the bridges created by
BridgeConfiguration are passed to the listener.-
Constructor Summary
ConstructorsConstructorDescriptionYamlPontesAdapterConfiguration(PontesAdapterProperties properties, org.springframework.beans.factory.ObjectProvider<org.web3j.protocol.Web3j> rpc, PontesApiProperties apiProperties, PontesBridgeProperties bridges, org.springframework.core.io.ResourceLoader resources) -
Method Summary
-
Constructor Details
-
YamlPontesAdapterConfiguration
public YamlPontesAdapterConfiguration(PontesAdapterProperties properties, @Qualifier("web3jHttp") org.springframework.beans.factory.ObjectProvider<org.web3j.protocol.Web3j> rpc, PontesApiProperties apiProperties, PontesBridgeProperties bridges, org.springframework.core.io.ResourceLoader resources) throws IOException - Throws:
IOException
-