|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectValveBase
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve
This valve checks for unclosed connections on a servlet request
Field Summary | |
protected CachedConnectionManager (src) |
ccm
The cached connection manager |
protected java.lang.String |
ccmName
The object name of the cached connection manager |
protected LifecycleSupport |
support
Valve-lifecycle helper object |
protected TransactionManager (src) |
tm
The transaction manager |
protected java.lang.String |
tmName
The object name of the transaction manager service |
protected java.util.Set |
unsharableResources
The unshareable resources |
Constructor Summary | |
CachedConnectionValve()
Create a new valve |
Method Summary | |
void |
addLifecycleListener(LifecycleListener listener)
|
protected void |
checkTransactionComplete(Request request)
|
LifecycleListener[] |
findLifecycleListeners()
|
java.lang.String |
getCachedConnectionManagerObjectName()
Get the cached connection manager object name |
java.lang.String |
getInfo()
Get information about this Valve. |
java.lang.String |
getTransactionManagerObjectName()
Get the transaction manager object name |
void |
invoke(Request request,
Response response)
|
void |
removeLifecycleListener(LifecycleListener listener)
|
void |
setCachedConnectionManagerObjectName(java.lang.String ccmName)
Set the cached connection manager object name |
void |
setTransactionManagerObjectName(java.lang.String tmName)
Set the transaction manager object name |
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected LifecycleSupport support
protected java.lang.String ccmName
protected CachedConnectionManager (src) ccm
protected java.lang.String tmName
protected TransactionManager (src) tm
protected java.util.Set unsharableResources
Constructor Detail |
public CachedConnectionValve()
Method Detail |
public java.lang.String getInfo()
public java.lang.String getCachedConnectionManagerObjectName()
public void setCachedConnectionManagerObjectName(java.lang.String ccmName)
public java.lang.String getTransactionManagerObjectName()
public void setTransactionManagerObjectName(java.lang.String tmName)
public void invoke(Request request, Response response) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public void addLifecycleListener(LifecycleListener listener)
public void removeLifecycleListener(LifecycleListener listener)
public LifecycleListener[] findLifecycleListeners()
public void start() throws LifecycleException
LifecycleException
public void stop() throws LifecycleException
LifecycleException
protected void checkTransactionComplete(Request request)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |