本文整理了Java中io.nuls.kernel.lite.annotation.Autowired.<init>()
方法的一些代码示例,展示了Autowired.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Autowired.<init>()
方法的具体详情如下:
包路径:io.nuls.kernel.lite.annotation.Autowired
类名称:Autowired
方法名:<init>
暂无
代码示例来源:origin: nuls-io/nuls
public class TotalCoinTask implements Runnable {
@Autowired
private UtxoLedgerUtxoStorageService utxoLedgerUtxoStorageService;
代码示例来源:origin: nuls-io/nuls
public class UtxoAccountsBalanceServiceImpl implements UtxoAccountsBalanceService {
@Autowired
UtxoAccountsStorageService utxoAccountsStorageService;
@Override
代码示例来源:origin: nuls-io/nuls
@Component
public class UtxoAccountsThread implements Runnable {
@Autowired
private UtxoAccountsService utxoAccountsService;
@Autowired
private UtxoAccountsStorageService utxoAccountsStorageService;
代码示例来源:origin: nuls-io/nuls
public class RewardStatisticsProcess {
@Autowired
private DownloadService downloadService;
@Autowired
private BlockService blockService;
@Autowired
private AccountService accountService;
@Autowired
private PocRewardCacheService service;
代码示例来源:origin: nuls-io/nuls
public class DeleteContractTxValidator implements NulsDataValidator<DeleteContractTransaction> {
@Autowired
private ContractAddressStorageService contractAddressStorageService;
@Autowired
private ContractUtxoService contractUtxoService;
代码示例来源:origin: nuls-io/nuls
/**
* @author: Charlie
* @date: 2018/9/4
*/
@Component
public class BifurcationEvidenceStorageServiceImpl implements BifurcationEvidenceStorageService, InitializingBean {
@Autowired
private DBService dbService;
@Override
public Map<String, List<EvidencePo>> getBifurcationEvidence() {
Map<String, List<EvidencePo>> map = dbService.getModel(ConsensusStorageConstant.DB_NAME_CONSENSUS_BIFURCATION_EVIDENCE,
ConsensusStorageConstant.DB_BIFURCATION_EVIDENCE_KEY.getBytes(), Map.class);
return map;
}
@Override
public boolean save(Map<String, List<EvidencePo>> map) {
Result result = dbService.putModel(ConsensusStorageConstant.DB_NAME_CONSENSUS_BIFURCATION_EVIDENCE,
ConsensusStorageConstant.DB_BIFURCATION_EVIDENCE_KEY.getBytes(), map);
return result.isSuccess();
}
@Override
public void afterPropertiesSet() throws NulsException {
dbService.createArea(ConsensusStorageConstant.DB_NAME_CONSENSUS_BIFURCATION_EVIDENCE);
}
}
代码示例来源:origin: nuls-io/nuls
/**
* @desription:
* @author: PierreLuo
* @date: 2018/6/8
*/
@Component
public class DeleteContractTxProcessor implements TransactionProcessor<DeleteContractTransaction> {
@Autowired
private ContractService contractService;
@Override
public Result onRollback(DeleteContractTransaction tx, Object secondaryData) {
contractService.deleteContractExecuteResult(tx.getHash());
return Result.getSuccess();
}
@Override
public Result onCommit(DeleteContractTransaction tx, Object secondaryData) {
ContractResult contractResult = tx.getContractResult();
contractService.saveContractExecuteResult(tx.getHash(), contractResult);
return Result.getSuccess();
}
@Override
public ValidateResult conflictDetect(List<Transaction> txList) {
return ValidateResult.getSuccessResult();
}
}
代码示例来源:origin: nuls-io/nuls
public class CancelDepositTxValidator implements NulsDataValidator<CancelDepositTransaction> {
@Autowired
private DepositStorageService depositStorageService;
代码示例来源:origin: nuls-io/nuls
public class ContractLedgerUtil {
@Autowired
private static ContractAddressStorageService contractAddressStorageService;
代码示例来源:origin: nuls-io/nuls
public class AgentCountValidator implements NulsDataValidator<CreateAgentTransaction> {
@Autowired
private AgentStorageService agentStorageService;
代码示例来源:origin: nuls-io/nuls
@Autowired
private DBService dbService;
代码示例来源:origin: nuls-io/nuls
@Autowired
private DBService dbService;
代码示例来源:origin: nuls-io/nuls
public class PunishLogStorageServiceImpl implements PunishLogStorageService, InitializingBean {
@Autowired
private DBService dbService;
代码示例来源:origin: nuls-io/nuls
@Autowired
private DBService dbService;
代码示例来源:origin: nuls-io/nuls
public class CreateAgentTxProcessor implements TransactionProcessor<CreateAgentTransaction> {
@Autowired
private AgentStorageService agentStorageService;
代码示例来源:origin: nuls-io/nuls
@Autowired
private DBService dbService;
代码示例来源:origin: nuls-io/nuls
public class ContractTransferTransactionStorageImpl implements ContractTransferTransactionStorageService, InitializingBean {
@Autowired
private DBService dbService;
代码示例来源:origin: nuls-io/nuls
public class AliasTxProcessor implements TransactionProcessor<AliasTransaction> {
@Autowired
private AliasService aliasService;
代码示例来源:origin: nuls-io/nuls
@Autowired
private DBService dbService;
代码示例来源:origin: nuls-io/nuls
@Autowired
private DBService dbService;
内容来源于网络,如有侵权,请联系作者删除!