public DefaultExecutors(final ILogger logger){
  mLogger=logger;
  mBackgroundExecutor=(ThreadPoolExecutor)Executors.newCachedThreadPool();
  mForegroundExecutor=new SynchronousExecutor();
}

public DefaultExecutors ( final ILogger logger ) { mLogger = logger ; mBackgroundExecutor = ( ThreadPoolExecutor ) Executors . newCachedThreadPool ( ) ; mForegroundExecutor = new SynchronousExecutor ( ) ; }
creates a new instance of the defaultexecutors .
