// deploy pool handler
application.addHandler(new PoolHandler(cloudAdapter));
if (options.enableConfigHandler) {
// optionally deploy config handler and config schema handler
application.addHandler(new ConfigHandler(cloudAdapter));
application.addHandler(new ConfigSchemaHandler(cloudAdapter));
}
if (options.enableExitHandler) {
// optionally deploy exit handler