[framework] TxCore → common-framework (ACM-FW-001)

This commit is contained in:
forge-bot 2026-07-18 11:11:55 +00:00
parent 242d9d13de
commit dedbfdc4a6

View file

@ -0,0 +1,18 @@
package com.klaro.acquirecore.framework;
/**
* Functional interface for transactional service operations.
* Represents a single unit of work within a transaction context.
*/
@FunctionalInterface
public interface TxService {
/**
* Execute the service operation within the given transaction context.
*
* @param ctx the transaction context
* @param input the input data for the operation
* @return the result of the operation
*/
Object execute(TxContext ctx, Object input);
}