- All Implemented Interfaces:
- EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationPreparedEvent>
@Order(value=2147483647)
public class WireMockApplicationListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationPreparedEvent>
Listener that prepares the environment so that WireMock will work when it is
initialized. For example, by finding free ports for the server to listen on.
- Author:
- Dave Syer