GigaSpaces XAP 9.0 API

com.j_spaces.core.client
Class LocalTransactionManager

java.lang.Object
  extended by com.j_spaces.core.client.LocalTransactionManager
All Implemented Interfaces:
Externalizable, Serializable, Remote, ExtendedTransactionManager, TransactionConstants, TransactionManager

Deprecated. Since 8.0 - Use JINI transactions instead.

@Deprecated
public abstract class LocalTransactionManager
extends Object
implements ExtendedTransactionManager, Serializable, Externalizable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface net.jini.core.transaction.server.TransactionManager
TransactionManager.Created
 
Field Summary
 
Fields inherited from interface net.jini.core.transaction.server.TransactionConstants
ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING
 
Constructor Summary
LocalTransactionManager()
          Deprecated.  
 
Method Summary
abstract  void destroy()
          Deprecated.  
static TransactionManager getInstance(IJSpace space)
          Deprecated. Returns single instance of LocalTransactionManager per space.
static TransactionManager getInstance(IMap map)
          Deprecated. Returns single instance of LocalTransactionManager per map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.jini.core.transaction.server.ExtendedTransactionManager
abort, abort, commit, commit, create, disJoin, getState, join, join, join, join, join, join, join, prepare
 
Methods inherited from interface net.jini.core.transaction.server.TransactionManager
abort, abort, commit, commit, create, getState, getTransactionManagerId, join, needParticipantsJoin
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

LocalTransactionManager

public LocalTransactionManager()
Deprecated. 
Method Detail

getInstance

public static TransactionManager getInstance(IMap map)
                                      throws RemoteException
Deprecated. 
Returns single instance of LocalTransactionManager per map.


 

<b>Usage:</b> TransactionManager localTxnManager = LocalTransactionManager( (IMap)map ); Transaction.Created tCreated = TransactionFactory.create(localTxnManager, 60000); Transaction tr = tCreated.transaction;

Parameters:
map - The IMap implementation.
Returns:
Returns instance of LocalTransactionManager.
Throws:
RemoteException - Failed to initialize LocalTransactionManager, or if the passed space proxy is null.
See Also:
TransactionManager

getInstance

public static TransactionManager getInstance(IJSpace space)
                                      throws RemoteException
Deprecated. 
Returns single instance of LocalTransactionManager per space.


 

<b>Usage:</b> TransactionManager localTxnManager = LocalTransactionManager( (IJSpace)space ); Transaction.Created tCreated = TransactionFactory.create(localTxnManager, 60000); Transaction tr = tCreated.transaction;

Parameters:
space - The space proxy.
Returns:
Returns instance of LocalTransactionManager.
Throws:
RemoteException - Failed to initialize LocalTransactionManager, or if the passed space proxy is null.
See Also:
TransactionManager

destroy

public abstract void destroy()
Deprecated. 

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.