Example #1
0
  @Override
  protected void doStop() throws Exception {
    if (managedClient) {
      client.close();
    }

    super.doStop();
  }
  @Override
  protected void doStop() throws Exception {
    if (client != null) {
      client.close();
    }

    super.doStop();
  }