private UserManagement getUserManagement() {
    if (null == userManagement) {
      ManagementFactory factory = ManagementFactory.newInstance();
      this.userManagement = factory.createUserManagement();
    }

    return this.userManagement;
  }
  /** Lazy load the {@link org.jboss.bpm.console.server.integration.TaskManagement} */
  private TaskManagement getTaskManagement() {
    if (null == this.taskManagement) {
      ManagementFactory factory = ManagementFactory.newInstance();
      this.taskManagement = factory.createTaskManagement();
      log.debug("Using ManagementFactory impl:" + factory.getClass().getName());
    }

    return this.taskManagement;
  }