|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.j_spaces.jca.GSManagedConnection
public class GSManagedConnection
GigaSpaces - JCA Managed Connection.
Constructor Summary | |
---|---|
GSManagedConnection(GSManagedConnectionFactory mcf,
long timeout)
|
Method Summary | |
---|---|
void |
addConnectionEventListener(ConnectionEventListener cel)
|
void |
associateConnection(Object c)
|
void |
begin()
|
void |
cleanup()
|
void |
commit()
|
void |
destroy()
|
Object |
getConnection(Subject subject,
ConnectionRequestInfo cri)
|
GSManagedConnectionFactory |
getGSManagedConnectionFactory()
|
String |
getJavaSpaceURL()
Returns the javaSpaceURL. |
Transaction.Created |
getJiniTx()
Gets the jiniTx associated. |
LocalTransaction |
getLocalTransaction()
|
PrintWriter |
getLogWriter()
|
ManagedConnectionMetaData |
getMetaData()
|
IJSpace |
getSpace()
Gets the space proxy. |
TransactionManager |
getTransactionManager()
Gets the associated transaction manager. |
Long |
getTransactionTimeout()
|
XAResource |
getXAResource()
|
static void |
log(String message)
|
void |
removeConnectionEventListener(ConnectionEventListener cel)
|
void |
rollback()
|
void |
setJiniTx(Transaction.Created jiniTx)
Sets the jiniTx. |
void |
setLogWriter(PrintWriter param1)
|
void |
setSpace(IJSpace space)
Sets the space proxy. |
void |
setTransactionTimeout(Long txTimeout)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GSManagedConnection(GSManagedConnectionFactory mcf, long timeout) throws ResourceException
mcf
- timeout
-
ResourceException
Method Detail |
---|
public void setTransactionTimeout(Long txTimeout)
public Long getTransactionTimeout()
public TransactionManager getTransactionManager()
public PrintWriter getLogWriter() throws ResourceException
getLogWriter
in interface ManagedConnection
ResourceException
public void setLogWriter(PrintWriter param1) throws ResourceException
setLogWriter
in interface ManagedConnection
ResourceException
public void addConnectionEventListener(ConnectionEventListener cel)
addConnectionEventListener
in interface ManagedConnection
public void removeConnectionEventListener(ConnectionEventListener cel)
removeConnectionEventListener
in interface ManagedConnection
public void associateConnection(Object c) throws ResourceException
associateConnection
in interface ManagedConnection
ResourceException
public LocalTransaction getLocalTransaction() throws ResourceException
getLocalTransaction
in interface ManagedConnection
ResourceException
public ManagedConnectionMetaData getMetaData() throws ResourceException
getMetaData
in interface ManagedConnection
ResourceException
public XAResource getXAResource() throws ResourceException
getXAResource
in interface ManagedConnection
ResourceException
public void destroy() throws ResourceException
destroy
in interface ManagedConnection
ResourceException
public void cleanup()
cleanup
in interface ManagedConnection
public Object getConnection(Subject subject, ConnectionRequestInfo cri)
getConnection
in interface ManagedConnection
public void commit() throws ResourceException
commit
in interface LocalTransaction
ResourceException
public void rollback() throws ResourceException
rollback
in interface LocalTransaction
ResourceException
public void begin() throws ResourceException
begin
in interface LocalTransaction
ResourceException
public Transaction.Created getJiniTx()
public void setJiniTx(Transaction.Created jiniTx)
jiniTx
- the jini transaction to setpublic IJSpace getSpace()
public void setSpace(IJSpace space)
space
- The space to setpublic static void log(String message)
message
- public String getJavaSpaceURL()
SpaceURL
public GSManagedConnectionFactory getGSManagedConnectionFactory()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |