lib/openwfe/engine/engine.rb
#
# Stopping the engine will stop all the services in the
# application context.
#
Stopping the engine will stop all the services in the
application context.
Stopping the engine will stop all the services in the application context .
def stop
      linfo { "stop() stopping engine '#{@service_name}'" }
      @application_context.each do |sname, service|
        next if sname == self.service_name
        if service.respond_to?(:stop)
          service.stop
          linfo { "stop() stopped service '#{sname}' (#{service.class})" }
        end
      end
      linfo { "stop() stopped engine '#{@service_name}'" }
      nil
    end
def stop linfo { "stop() stopping engine '#{@service_name}'" } @application_context . each do | sname , service | next if sname == self . service_name if service . respond_to? ( :stop ) service . stop linfo { "stop() stopped service '#{sname}' (#{service.class})" } end end linfo { "stop() stopped engine '#{@service_name}'" } nil end
Stopping the engine will stop all the services in the
application context.
Stopping the engine will stop all the services in the application context .