// This class is instantiated with no-arg constructor outside of any IoC
// system etc., so we hook into one here.
protected synchronized void findManager() throws Exception {
if (this.rm == null) {
final GatewayContext ctx =
GatewayContext.discoverGatewayContext();
this.rm = ctx.findRM();
}
}