com.mf.kennewick.broker
Class EJBTransaction

java.lang.Object
  extended bycom.mf.kennewick.broker.EJBTransaction
All Implemented Interfaces:
ITransaction

public class EJBTransaction
extends java.lang.Object
implements ITransaction

EXPERIMENTAL - DON'T USE THIS YET!


Constructor Summary
EJBTransaction()
           
 
Method Summary
 void commit()
           
 void delete(KennewickObject anObject, EJBBroker broker)
           
 long getTransactionTime()
           
 java.lang.Object methodInvoker(java.lang.reflect.Method method, java.lang.Object obj, java.lang.Object[] args)
           
 java.util.Collection retrieveAll(java.lang.Class clazz, EJBBroker broker)
           
 KennewickObject retrieveSingleObjectById(java.lang.Class clazz, ObjectIdentifier id, EJBBroker broker)
           
 void rollback()
           
 void save(KennewickObject anObject, EJBBroker broker)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBTransaction

public EJBTransaction()
Method Detail

commit

public void commit()
            throws java.lang.Exception
Specified by:
commit in interface ITransaction
Throws:
java.lang.Exception

rollback

public void rollback()
              throws java.lang.Exception
Specified by:
rollback in interface ITransaction
Throws:
java.lang.Exception

getTransactionTime

public long getTransactionTime()
                        throws java.lang.Exception
Specified by:
getTransactionTime in interface ITransaction
Throws:
java.lang.Exception

save

public void save(KennewickObject anObject,
                 EJBBroker broker)
          throws java.lang.Exception
Throws:
java.lang.Exception

delete

public void delete(KennewickObject anObject,
                   EJBBroker broker)
            throws java.lang.Exception
Throws:
java.lang.Exception

retrieveSingleObjectById

public KennewickObject retrieveSingleObjectById(java.lang.Class clazz,
                                                ObjectIdentifier id,
                                                EJBBroker broker)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

retrieveAll

public java.util.Collection retrieveAll(java.lang.Class clazz,
                                        EJBBroker broker)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

methodInvoker

public java.lang.Object methodInvoker(java.lang.reflect.Method method,
                                      java.lang.Object obj,
                                      java.lang.Object[] args)
                               throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004 Media Fortress, LLC, LLC. Licensed for commercial use under the Apache 2.0 License.