Define a CheckedActionFactory Interface
Define an implementation of the CheckedActionFactory interface, which has a single method getCheckedAction(final Uid txId, final String actionType) that returns a CheckedAction. The factory class name can then be provided to the Transaction Service at runtime by setting the CoordinatorEnvironmentBean.checkedActionFactory property.