if (success) {
// XXX Bandwidth control service should not be bound to
// a specific scope because it's designed to control
// the bandwidth system-wide.
if (getScope() != null && getScope().getContext() != null) {
IBWControlService bwController = (IBWControlService) getScope()
.getContext().getBean(IBWControlService.KEY);
bwContext = bwController.registerBWControllable(this);
}
if (waitForHandshakeJob != null) {
waitForHandshakeService.removeScheduledJob(waitForHandshakeJob);
waitForHandshakeJob = null;