org.tentackle.db.rmi
Class DbRemoteDelegateImpl
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.tentackle.db.rmi.DbRemoteDelegateImpl
- All Implemented Interfaces:
- Serializable, Remote, DbRemoteDelegate
public class DbRemoteDelegateImpl
- extends UnicastRemoteObject
- implements DbRemoteDelegate
Remote delegate implementation for Db.
- Author:
- harald
- See Also:
- Serialized Form
DbRemoteDelegateImpl
public DbRemoteDelegateImpl(RemoteDbSessionImpl session)
throws RemoteException
- Throws:
RemoteException
getSession
public RemoteDbSessionImpl getSession()
getDb
public Db getDb()
getConnectionId
public int getConnectionId()
throws RemoteException
- Specified by:
getConnectionId in interface DbRemoteDelegate
- Throws:
RemoteException
setGroupId
public void setGroupId(int number)
throws RemoteException
- Specified by:
setGroupId in interface DbRemoteDelegate
- Throws:
RemoteException
getGroupId
public int getGroupId()
throws RemoteException
- Specified by:
getGroupId in interface DbRemoteDelegate
- Throws:
RemoteException
isAlive
public boolean isAlive()
throws RemoteException
- Specified by:
isAlive in interface DbRemoteDelegate
- Throws:
RemoteException
setAlive
public void setAlive(boolean alive)
throws RemoteException
- Specified by:
setAlive in interface DbRemoteDelegate
- Throws:
RemoteException
commit
public boolean commit(boolean oldCommit)
throws RemoteException
- Specified by:
commit in interface DbRemoteDelegate
- Throws:
RemoteException
rollback
public boolean rollback(boolean oldCommit)
throws RemoteException
- Specified by:
rollback in interface DbRemoteDelegate
- Throws:
RemoteException
begin
public long begin(String txName)
throws RemoteException
- Specified by:
begin in interface DbRemoteDelegate
- Throws:
RemoteException
setCountModificationAllowed
public void setCountModificationAllowed(boolean flag)
throws RemoteException
- Specified by:
setCountModificationAllowed in interface DbRemoteDelegate
- Throws:
RemoteException
setLogModificationAllowed
public void setLogModificationAllowed(boolean flag)
throws RemoteException
- Specified by:
setLogModificationAllowed in interface DbRemoteDelegate
- Throws:
RemoteException
setLogModificationTxEnabled
public void setLogModificationTxEnabled(boolean flag)
throws RemoteException
- Specified by:
setLogModificationTxEnabled in interface DbRemoteDelegate
- Throws:
RemoteException
setLogModificationTxId
public void setLogModificationTxId(long txId)
throws RemoteException
- Specified by:
setLogModificationTxId in interface DbRemoteDelegate
- Throws:
RemoteException
getLogModificationTxId
public long getLogModificationTxId()
throws RemoteException
- Specified by:
getLogModificationTxId in interface DbRemoteDelegate
- Throws:
RemoteException
setLogModificationDeferred
public void setLogModificationDeferred(boolean flag)
throws RemoteException
- Specified by:
setLogModificationDeferred in interface DbRemoteDelegate
- Throws:
RemoteException
getDeferredModificationLogList
public List<ModificationLog> getDeferredModificationLogList()
throws RemoteException
- Specified by:
getDeferredModificationLogList in interface DbRemoteDelegate
- Throws:
RemoteException
Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de