org.apache.geronimo.connector.work
Class TransactionContextHandler

java.lang.Object
  extended by org.apache.geronimo.connector.work.TransactionContextHandler
All Implemented Interfaces:
WorkContextHandler<javax.resource.spi.work.TransactionContext>

public class TransactionContextHandler
extends java.lang.Object
implements WorkContextHandler<javax.resource.spi.work.TransactionContext>

Version:
$Rev: 925908 $ $Date: 2010-03-22 05:59:55 +0800 (Mon, 22 Mar 2010) $

Constructor Summary
TransactionContextHandler(XAWork xaWork)
           
 
Method Summary
 void after(javax.resource.spi.work.TransactionContext workContext)
           
 void before(javax.resource.spi.work.TransactionContext workContext)
           
 boolean required()
           
 boolean supports(java.lang.Class<? extends javax.resource.spi.work.WorkContext> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionContextHandler

public TransactionContextHandler(XAWork xaWork)
Method Detail

before

public void before(javax.resource.spi.work.TransactionContext workContext)
            throws javax.resource.spi.work.WorkCompletedException
Specified by:
before in interface WorkContextHandler<javax.resource.spi.work.TransactionContext>
Throws:
javax.resource.spi.work.WorkCompletedException

after

public void after(javax.resource.spi.work.TransactionContext workContext)
           throws javax.resource.spi.work.WorkCompletedException
Specified by:
after in interface WorkContextHandler<javax.resource.spi.work.TransactionContext>
Throws:
javax.resource.spi.work.WorkCompletedException

supports

public boolean supports(java.lang.Class<? extends javax.resource.spi.work.WorkContext> clazz)
Specified by:
supports in interface WorkContextHandler<javax.resource.spi.work.TransactionContext>

required

public boolean required()
Specified by:
required in interface WorkContextHandler<javax.resource.spi.work.TransactionContext>


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.