org.slim3.transaction.websphere
Class WebSphereTransactionController.UOWActionImpl

java.lang.Object
  extended by org.slim3.transaction.websphere.WebSphereTransactionController.UOWActionImpl
All Implemented Interfaces:
com.ibm.wsspi.uow.UOWAction
Enclosing class:
WebSphereTransactionController

protected class WebSphereTransactionController.UOWActionImpl
extends Object
implements com.ibm.wsspi.uow.UOWAction

An implementation class for UOWAction.

Author:
koichik, higa

Field Summary
protected  TransactionAction action
          The transaction action.
protected  Object result
          The result which action returns.
 
Constructor Summary
WebSphereTransactionController.UOWActionImpl(TransactionAction action)
          Constructor.
 
Method Summary
 Object getResult()
          Returns the result.
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

action

protected TransactionAction action
The transaction action.


result

protected Object result
The result which action returns.

Constructor Detail

WebSphereTransactionController.UOWActionImpl

public WebSphereTransactionController.UOWActionImpl(TransactionAction action)
                                             throws NullPointerException
Constructor.

Parameters:
action - the transaction action
Throws:
NullPointerException - if the action parameter is null
Method Detail

run

public void run()
         throws Exception
Specified by:
run in interface com.ibm.wsspi.uow.UOWAction
Throws:
Exception

getResult

public Object getResult()
Returns the result.

Returns:
the result


Copyright © 2008-2009 The Slim3 project. All Rights Reserved.