From b6994ea3a33c504af1848aa7c701e8ed112a0a0d Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Sun, 7 Jan 2007 07:38:17 +0000 Subject: [PATCH] * Fixed for bug [1619933] and [1619933], now it is possible to run adempiere client with only a single connection to the application server. --- interfaces/src/org/compiere/interfaces/Server.java | 14 ++++++++++++++ .../src/org/compiere/interfaces/ServerLocal.java | 12 ++++++++++++ 2 files changed, 26 insertions(+) diff --git a/interfaces/src/org/compiere/interfaces/Server.java b/interfaces/src/org/compiere/interfaces/Server.java index 7f0d2b17c1..124269f45d 100644 --- a/interfaces/src/org/compiere/interfaces/Server.java +++ b/interfaces/src/org/compiere/interfaces/Server.java @@ -159,4 +159,18 @@ public interface Server public java.lang.String getStatus( ) throws java.rmi.RemoteException; + /** + * Commit the named transaction on server + * @param trxName + * @return true if success, false otherwise */ + public boolean commit( java.lang.String trxName ) + throws java.rmi.RemoteException; + + /** + * Rollback the named transaction on server + * @param trxName + * @return true if success, false otherwise */ + public boolean rollback( java.lang.String trxName ) + throws java.rmi.RemoteException; + } diff --git a/interfaces/src/org/compiere/interfaces/ServerLocal.java b/interfaces/src/org/compiere/interfaces/ServerLocal.java index 3b6387e9eb..05682678bd 100644 --- a/interfaces/src/org/compiere/interfaces/ServerLocal.java +++ b/interfaces/src/org/compiere/interfaces/ServerLocal.java @@ -142,4 +142,16 @@ public interface ServerLocal * @return Debugging information about the instance and its content */ public java.lang.String getStatus( ) ; + /** + * Commit the named transaction on server + * @param trxName + * @return true if success, false otherwise */ + public boolean commit( java.lang.String trxName ) ; + + /** + * Rollback the named transaction on server + * @param trxName + * @return true if success, false otherwise */ + public boolean rollback( java.lang.String trxName ) ; + }