|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.valves.ValveBase org.ow2.jonas.web.tomcat6.tx.TransactionValve
public class TransactionValve
This valve is used when TX service is enabled. It ensures that the transaction is aborted at the end of the execution of the method if it was started in the method.
Field Summary |
---|
Fields inherited from class org.apache.catalina.valves.ValveBase |
---|
container, containerLog, controller, domain, info, mserver, next, oname, sm |
Constructor Summary | |
---|---|
TransactionValve(TransactionManager transactionManager)
Default constructor. |
Method Summary | |
---|---|
void |
invoke(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response)
Ensure that there is no pending transaction at the end of the method |
Methods inherited from class org.apache.catalina.valves.ValveBase |
---|
backgroundProcess, createObjectName, event, getContainer, getContainerName, getController, getDomain, getInfo, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setContainer, setController, setNext, setObjectName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransactionValve(TransactionManager transactionManager)
Method Detail |
---|
public void invoke(org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response) throws IOException, ServletException
invoke
in interface org.apache.catalina.Valve
invoke
in class org.apache.catalina.valves.ValveBase
request
- The servlet request to be processedresponse
- The servlet response to be created
IOException
- if an input/output error occurs
ServletException
- if a servlet error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |