DeploymentListener is not really required in the constructor, you can configure a NullDeploymentListener and add a setter to change it