UNICOM® Digital Transformation Toolkit (UDTT™) provides an abstract service class--- JavaCodeRuleProviderService, and you can extend it for Remote ILog Service and Java Local Rule Service.
For Java Local Rule Service, you just need implement the abstract method checkRule() to do the rule judgment.
public class UserTransferRuleProviderExample extends JavaCodeRuleProviderService { public Map<String, Object> checkRule(Map<String, Object> params) { System.out.println("#######UserTransferRuleProviderExample checkRule for ruleID="+this.getRuleID());