The TXFramework API will be removed. The org.jboss.narayana.compensations API should be used instead.
The new API is superior for these reasons:
i) offers a higher level API;
ii) The API very closely matches that of JTA, making it easier for developers to learn,
iii) It works for non-distributed transactions as well as distributed transactions.
iv) It is CDI based so only needs a CDI container to run, rather than a full Java EE server.
Method level annotation used to enable lifecycle handling and configure parameters which control its operation
The class which is the target of lifecycle handler callbacks. With POJO execution mode this class is the
direct target for handler method invocations. With EJB execution mode it identifies the EJB interface
class. With WS execution mode it identifies the client interface for a JaxWS client.