org.hyperledger.fabric.contract.routing.TxFunction 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. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package org.hyperledger.fabric.contract.routing;
import java.lang.reflect.Method;
import java.util.List;
import org.hyperledger.fabric.contract.ContractInterface;
import org.hyperledger.fabric.contract.metadata.TypeSchema;
public interface TxFunction {
interface Routing {
Method getMethod();
Class extends ContractInterface> getContractClass();
ContractInterface getContractInstance() throws InstantiationException, IllegalAccessException;
}
boolean isUnknownTx();
void setUnknownTx(boolean unknown);
String getName();
Routing getRouting();
Class> getReturnType();
java.lang.reflect.Parameter[] getParameters();
TransactionType getType();
void setReturnSchema(TypeSchema returnSchema);
TypeSchema getReturnSchema();
void setParameterDefinitions(List list);
List getParamsList();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy