|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.jackrabbit.jca.AnonymousConnection
public class AnonymousConnection
Implements a ManagedConnection for an anonymous user,
where no ConnectionRequestInfo has been specified.
JCAManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject, javax.resource.spi.ConnectionRequestInfo)| Field Summary |
|---|
| Fields inherited from interface javax.transaction.xa.XAResource |
|---|
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY |
| Constructor Summary | |
|---|---|
AnonymousConnection()
|
|
| Method Summary | |
|---|---|
void |
addConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
|
void |
associateConnection(Object o)
|
void |
cleanup()
|
void |
commit(Xid xid,
boolean arg1)
|
void |
destroy()
|
void |
end(Xid xid,
int flags)
|
void |
forget(Xid xid)
|
Object |
getConnection(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
|
javax.resource.spi.LocalTransaction |
getLocalTransaction()
|
PrintWriter |
getLogWriter()
|
javax.resource.spi.ManagedConnectionMetaData |
getMetaData()
|
int |
getTransactionTimeout()
|
XAResource |
getXAResource()
|
boolean |
isSameRM(XAResource xares)
|
int |
prepare(Xid xid)
|
Xid[] |
recover(int flags)
|
void |
removeConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
|
void |
rollback(Xid xid)
|
void |
setLogWriter(PrintWriter logWriter)
|
boolean |
setTransactionTimeout(int timeout)
|
void |
start(Xid xid,
int flags)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnonymousConnection()
| Method Detail |
|---|
public XAResource getXAResource()
throws javax.resource.ResourceException
getXAResource in interface javax.resource.spi.ManagedConnectionjavax.resource.ResourceException
public void cleanup()
throws javax.resource.ResourceException
cleanup in interface javax.resource.spi.ManagedConnectionjavax.resource.ResourceException
public void destroy()
throws javax.resource.ResourceException
destroy in interface javax.resource.spi.ManagedConnectionjavax.resource.ResourceException
public void setLogWriter(PrintWriter logWriter)
throws javax.resource.ResourceException
setLogWriter in interface javax.resource.spi.ManagedConnectionjavax.resource.ResourceException
public PrintWriter getLogWriter()
throws javax.resource.ResourceException
getLogWriter in interface javax.resource.spi.ManagedConnectionjavax.resource.ResourceExceptionpublic void addConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
addConnectionEventListener in interface javax.resource.spi.ManagedConnectionpublic void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
removeConnectionEventListener in interface javax.resource.spi.ManagedConnection
public Object getConnection(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
throws javax.resource.ResourceException
getConnection in interface javax.resource.spi.ManagedConnectionjavax.resource.ResourceException
public void associateConnection(Object o)
throws javax.resource.ResourceException
associateConnection in interface javax.resource.spi.ManagedConnectionjavax.resource.ResourceException
public javax.resource.spi.LocalTransaction getLocalTransaction()
throws javax.resource.ResourceException
getLocalTransaction in interface javax.resource.spi.ManagedConnectionjavax.resource.ResourceException
public javax.resource.spi.ManagedConnectionMetaData getMetaData()
throws javax.resource.ResourceException
getMetaData in interface javax.resource.spi.ManagedConnectionjavax.resource.ResourceException
public Xid[] recover(int flags)
throws XAException
recover in interface XAResourceXAException
public int getTransactionTimeout()
throws XAException
getTransactionTimeout in interface XAResourceXAException
public boolean setTransactionTimeout(int timeout)
throws XAException
setTransactionTimeout in interface XAResourceXAException
public boolean isSameRM(XAResource xares)
throws XAException
isSameRM in interface XAResourceXAException
public void start(Xid xid,
int flags)
throws XAException
start in interface XAResourceXAException
public void end(Xid xid,
int flags)
throws XAException
end in interface XAResourceXAException
public void forget(Xid xid)
throws XAException
forget in interface XAResourceXAException
public int prepare(Xid xid)
throws XAException
prepare in interface XAResourceXAException
public void commit(Xid xid,
boolean arg1)
throws XAException
commit in interface XAResourceXAException
public void rollback(Xid xid)
throws XAException
rollback in interface XAResourceXAException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||