org.shiftone.ooc.factory.tx
Class TxInvocationHandler

java.lang.Object
  extended byorg.shiftone.ooc.factory.tx.TxInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class TxInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Version:
$Revision: 1.2 $
Author:
$Author: jeffdrost $

Constructor Summary
TxInvocationHandler(java.lang.Object target, Tx tx)
           
 
Method Summary
static java.lang.Object createProxy(java.lang.Object target, java.lang.Class iface, Tx tx)
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TxInvocationHandler

public TxInvocationHandler(java.lang.Object target,
                           Tx tx)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

createProxy

public static java.lang.Object createProxy(java.lang.Object target,
                                           java.lang.Class iface,
                                           Tx tx)