|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.jms.jca.ManagedSessionImpl
public class ManagedSessionImpl
The managed session
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
log
|
| Constructor Summary | |
|---|---|
ManagedSessionImpl(ConnectionFactory factory,
Destination destination)
|
|
| Method Summary | |
|---|---|
void |
addConnectionEventListener(ConnectionEventListener listener)
Adds a new listener. |
void |
associateConnection(java.lang.Object o)
Associates an application-level connection handle with a ManagedConnection |
void |
cleanup()
Cleanup the physical connection. |
void |
destroy()
Destroys the physical connection. |
java.lang.Object |
getConnection(javax.security.auth.Subject subj,
ConnectionRequestInfo info)
Creates a new connection handle for the underlying physical connection. |
ConnectionEventListener |
getConnectionEventListener()
|
LocalTransaction |
getLocalTransaction()
Returns a LocalTransaction. |
java.io.PrintWriter |
getLogWriter()
Returns the log stream. |
ManagedConnectionMetaData |
getMetaData()
Returns the meta data for the connection. |
XAResource |
getXAResource()
Returns an XAResource for the connection. |
void |
removeConnectionEventListener(ConnectionEventListener listener)
Removes an old new listener. |
void |
setLogWriter(java.io.PrintWriter out)
Sets the log stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.logging.Logger log
| Constructor Detail |
|---|
public ManagedSessionImpl(ConnectionFactory factory,
Destination destination)
throws ResourceException
ResourceException| Method Detail |
|---|
public ManagedConnectionMetaData getMetaData()
ManagedConnection
getMetaData in interface ManagedConnection
public LocalTransaction getLocalTransaction()
throws ResourceException
ManagedConnection
getLocalTransaction in interface ManagedConnectionResourceException
public XAResource getXAResource()
throws ResourceException
ManagedConnection
getXAResource in interface ManagedConnectionResourceExceptionpublic void addConnectionEventListener(ConnectionEventListener listener)
ManagedConnection
addConnectionEventListener in interface ManagedConnectionpublic void removeConnectionEventListener(ConnectionEventListener listener)
ManagedConnection
removeConnectionEventListener in interface ManagedConnectionpublic ConnectionEventListener getConnectionEventListener()
public java.lang.Object getConnection(javax.security.auth.Subject subj,
ConnectionRequestInfo info)
ManagedConnection
getConnection in interface ManagedConnection
public void associateConnection(java.lang.Object o)
throws ResourceException
ManagedConnection
associateConnection in interface ManagedConnectionResourceExceptionpublic java.io.PrintWriter getLogWriter()
ManagedConnection
getLogWriter in interface ManagedConnectionpublic void setLogWriter(java.io.PrintWriter out)
ManagedConnection
setLogWriter in interface ManagedConnection
public void cleanup()
throws ResourceException
ManagedConnection
cleanup in interface ManagedConnectionResourceException
public void destroy()
throws ResourceException
ManagedConnection
destroy in interface ManagedConnectionResourceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||