code: private void fireWorkContextSetupFailed(Object workContext)
     {
        if (workContext != null && workContext instanceof WorkContextLifecycleListener)
        {
           if (trace)
              log.tracef("WorkContextSetupFailed(%s) for %s", workContext, this);  
  
           WorkContextLifecycleListener listener = (WorkContextLifecycleListener)workContext;
           listener.contextSetupFailed(WorkContextErrorCodes.CONTEXT_SETUP_FAILED);
        }
     }
docs: Calls listener if setup failed
  @param listener work context listener