com.j_spaces.jca
Class GSConnection

java.lang.Object
  extended by com.j_spaces.jca.GSConnection
All Implemented Interfaces:
Connection, LocalTransaction

public class GSConnection
extends Object
implements LocalTransaction, Connection

GigaSpaces - JCA Connection.


Constructor Summary
GSConnection(GSManagedConnection mc)
           
 
Method Summary
 void begin()
           
 void close()
           
 void commit()
           
 Interaction createInteraction()
           
 LocalTransaction getLocalTransaction()
           
 GSManagedConnection getManagedConnection()
           
 ConnectionMetaData getMetaData()
           
 ResultSetInfo getResultSetInfo()
           
 void rollback()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GSConnection

public GSConnection(GSManagedConnection mc)
Parameters:
mc -
Method Detail

getLocalTransaction

public LocalTransaction getLocalTransaction()
                                     throws ResourceException
Specified by:
getLocalTransaction in interface Connection
Throws:
ResourceException

getMetaData

public ConnectionMetaData getMetaData()
                               throws ResourceException
Specified by:
getMetaData in interface Connection
Throws:
ResourceException

createInteraction

public Interaction createInteraction()
                              throws ResourceException
Specified by:
createInteraction in interface Connection
Throws:
ResourceException

getResultSetInfo

public ResultSetInfo getResultSetInfo()
                               throws ResourceException
Specified by:
getResultSetInfo in interface Connection
Throws:
ResourceException

close

public void close()
           throws ResourceException
Specified by:
close in interface Connection
Throws:
ResourceException

commit

public void commit()
            throws ResourceException
Specified by:
commit in interface LocalTransaction
Throws:
ResourceException

rollback

public void rollback()
              throws ResourceException
Specified by:
rollback in interface LocalTransaction
Throws:
ResourceException

begin

public void begin()
           throws ResourceException
Specified by:
begin in interface LocalTransaction
Throws:
ResourceException

getManagedConnection

public GSManagedConnection getManagedConnection()
                                         throws IllegalStateException
Throws:
IllegalStateException