org.slim3.container.interceptor
Class InterceptorTransactionAction

java.lang.Object
  extended by org.slim3.container.interceptor.InterceptorTransactionAction
All Implemented Interfaces:
TransactionAction

public class InterceptorTransactionAction
extends Object
implements TransactionAction

An implementation class for TransactionAction.

Since:
3.0
Author:
higa

Field Summary
protected  InvocationContext invocationContext
          The invocation context.
 
Constructor Summary
InterceptorTransactionAction(InvocationContext invocationContext)
          Constructor.
 
Method Summary
 Object execute()
          Executes the action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

invocationContext

protected InvocationContext invocationContext
The invocation context.

Constructor Detail

InterceptorTransactionAction

public InterceptorTransactionAction(InvocationContext invocationContext)
                             throws NullPointerException
Constructor.

Parameters:
invocationContext - the invocation context
Throws:
NullPointerException - if the invocationContext parameter is null
Method Detail

execute

public Object execute()
               throws Exception
Description copied from interface: TransactionAction
Executes the action.

Specified by:
execute in interface TransactionAction
Returns:
a result
Throws:
Exception - if an exception is encountered


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