Class TransactionEventListener
- java.lang.Object
-
- org.wiremock.extensions.state.extensions.TransactionEventListener
-
- All Implemented Interfaces:
com.github.tomakehurst.wiremock.extension.Extension,com.github.tomakehurst.wiremock.extension.ServeEventListener,StateExtensionMixin
public class TransactionEventListener extends java.lang.Object implements com.github.tomakehurst.wiremock.extension.ServeEventListener, StateExtensionMixin
Persist transaction-related information in the context.DO NOT REGISTER directly. Use
StateExtensioninstead.- See Also:
StateExtension
-
-
Constructor Summary
Constructors Constructor Description TransactionEventListener(TransactionManager transactionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterComplete(com.github.tomakehurst.wiremock.stubbing.ServeEvent serveEvent, com.github.tomakehurst.wiremock.extension.Parameters parameters)booleanapplyGlobally()java.lang.StringgetName()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.tomakehurst.wiremock.extension.ServeEventListener
afterMatch, beforeMatch, beforeResponseSent, onEvent
-
Methods inherited from interface org.wiremock.extensions.state.internal.StateExtensionMixin
createConfigurationError
-
-
-
-
Constructor Detail
-
TransactionEventListener
public TransactionEventListener(TransactionManager transactionManager)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacecom.github.tomakehurst.wiremock.extension.Extension
-
applyGlobally
public boolean applyGlobally()
- Specified by:
applyGloballyin interfacecom.github.tomakehurst.wiremock.extension.ServeEventListener
-
afterComplete
public void afterComplete(com.github.tomakehurst.wiremock.stubbing.ServeEvent serveEvent, com.github.tomakehurst.wiremock.extension.Parameters parameters)- Specified by:
afterCompletein interfacecom.github.tomakehurst.wiremock.extension.ServeEventListener
-
-