public class TransactionContextHandler extends Object implements WorkContextHandler<javax.resource.spi.work.TransactionContext>
Constructor and Description |
---|
TransactionContextHandler(XAWork xaWork) |
Modifier and Type | Method and Description |
---|---|
void |
after(javax.resource.spi.work.TransactionContext workContext) |
void |
before(javax.resource.spi.work.TransactionContext workContext) |
boolean |
required() |
boolean |
supports(Class<? extends javax.resource.spi.work.WorkContext> clazz) |
public TransactionContextHandler(XAWork xaWork)
public void before(javax.resource.spi.work.TransactionContext workContext) throws javax.resource.spi.work.WorkCompletedException
before
in interface WorkContextHandler<javax.resource.spi.work.TransactionContext>
javax.resource.spi.work.WorkCompletedException
public void after(javax.resource.spi.work.TransactionContext workContext) throws javax.resource.spi.work.WorkCompletedException
after
in interface WorkContextHandler<javax.resource.spi.work.TransactionContext>
javax.resource.spi.work.WorkCompletedException
public boolean supports(Class<? extends javax.resource.spi.work.WorkContext> clazz)
supports
in interface WorkContextHandler<javax.resource.spi.work.TransactionContext>
public boolean required()
required
in interface WorkContextHandler<javax.resource.spi.work.TransactionContext>
Copyright © 2019. All rights reserved.