A DUnit Rule (or even a test) can now register a VMEventListener:

`VM.getVMEventListenerRegistry().addVMEventListener(vmEventListener);`

VMEventListeners will receive the following notifications:
```
public void afterCreateVM(VM vm);
public void beforeBounceVM(VM vm);
public void afterBounceVM(VM vm);
```
DUnit Rules can use these callbacks in order to support
dynamic creation or bouncing of VMs.

Note: this PR does not complete the ticket GEODE-6033. Next step is to change 
the DUnit Rules to register a VMEventListener. Then the ticket will be resolved.

[ Full content available at: https://github.com/apache/geode/pull/3161 ]
This message was relayed via gitbox.apache.org for 
[email protected]

Reply via email to