public void resumeAll(){
  lock.unlock();
}

public void resumeAll ( ) { lock . unlock ( ) ; }
release the lock that controls entry into the deploy / undeploy methods which will allow those activities to continue .
