Skip to content

TIBCOSoftware/dovetail-java-lib

Repository files navigation

title weight
dovetail-java-lib
4603

Documentation Status

dovetail-java-lib

Project Dovetail™ Java library provides a runtime environment to interpret and execute smart contract flows developed using Project Dovetail™ Studio. It provides hooks to plugin any blockchain or distributed ledger platforms through a set of interfaces that must be implemented.

  • com.tibco.dovetail.runtime.services.IDataService: provides read/write access to platform's ledgers
  • com.tibco.dovetail.runtime.services.IEventService: provides capability for smart contract to pulish events to platform's eventing stream
  • com.tibco.dovetail.runtime.services.ILogService: provides access to platform's logging mechanism
  • com.tibco.dovetail.runtime.services.IContainerService: entry point to get get access to platform's data, eventing and logging services
  • com.tibco.dovetail.runtime.transaction.ITransactionService: resolve transaction input and provides transaction level security service

Project Dovetail™ provides SmartContract TXN Trigger to dispatch smart contract invocation to the correct handler, if you have needs to create your own trigger, it must implement com.tibco.dovetail.runtime.trigger.ITrigger interface.

Project Dovetail™ Java runtime dynamically loads activities and triggers in the smart contract application json model file, the java package name of these activities and tiggers must follow this pattern [lowercase(category name)].activity.[activity name] and [lowercase(category name)].trigger.[trigger name] respectively.

Project Dovetail™ Java runtime supports JDK1.8+

Note on third party dependencies

Once you install the java-lib the following third party dependencies will be downloaded to your machine.

Contributing

New contributions are welcome. If you would like to submit one, follow the instructions in the contributions section on the documentation page

License

dovetail-java-lib is licensed under a BSD-type license. See LICENSE for license text.

Support

For Q&A you can contact us at [email protected].

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages