protected final boolean execute() throws AdeException {
  logger.info("Starting execution: " + m_requestType.name());
  final long start=System.currentTimeMillis();
  final boolean success=doControlLogic();
  final long total=System.currentTimeMillis() - start;
  logger.info(m_requestType.name() + (success ? " done. " : " failed. ") + "Total time elapsed: "+ millisecondsToHumanTime(total));
  return success;
}

protected final boolean execute ( ) throws AdeException { logger . info ( "Starting execution: " + m_requestType . name ( ) ) ; final long start = System . currentTimeMillis ( ) ; final boolean success = doControlLogic ( ) ; final long total = System . currentTimeMillis ( ) - start ; logger . info ( m_requestType . name ( ) + ( success ? " done. " : " failed. " ) + "Total time elapsed: " + millisecondsToHumanTime ( total ) ) ; return success ; }
call the docontrollogic ( ) method defined in subclass , and provide additional traces , result handling to the docontrollogic ( ) .
