|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 ManagedConnectionResourceException
public void setLogWriter(PrintWriter param1)
throws ResourceException
setLogWriter in interface ManagedConnectionResourceExceptionpublic void addConnectionEventListener(ConnectionEventListener cel)
addConnectionEventListener in interface ManagedConnectionpublic void removeConnectionEventListener(ConnectionEventListener cel)
removeConnectionEventListener in interface ManagedConnection
public void associateConnection(Object c)
throws ResourceException
associateConnection in interface ManagedConnectionResourceException
public LocalTransaction getLocalTransaction()
throws ResourceException
getLocalTransaction in interface ManagedConnectionResourceException
public ManagedConnectionMetaData getMetaData()
throws ResourceException
getMetaData in interface ManagedConnectionResourceException
public XAResource getXAResource()
throws ResourceException
getXAResource in interface ManagedConnectionResourceException
public void destroy()
throws ResourceException
destroy in interface ManagedConnectionResourceExceptionpublic 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 LocalTransactionResourceException
public void rollback()
throws ResourceException
rollback in interface LocalTransactionResourceException
public void begin()
throws ResourceException
begin in interface LocalTransactionResourceExceptionpublic 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()
SpaceURLpublic GSManagedConnectionFactory getGSManagedConnectionFactory()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||