org.hyperledger.fabric.contract.annotation.Default Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fabric-chaincode-shim Show documentation
Show all versions of fabric-chaincode-shim Show documentation
Hyperledger Fabric Java Chaincode Shim
/*
Copyright IBM Corp., DTCC All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package org.hyperledger.fabric.contract.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Class level annotation that defines the contract that is the default contract,
* and as such invoke of the transaction functions does not need to be qualified by the contract name
*/
@Retention(RUNTIME)
@Target(ElementType.TYPE)
public @interface Default {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy