Class: OpenWFE::Service

Inherits:
Object
  • Object
show all
Includes:
ServiceMixin
Defined in:
lib/openwfe/service.rb

Overview

A service has a service_name and a link to its application_context. Via the application_context, it can lookup other services (if it knows their names).

Instance Attribute Summary

Attributes included from ServiceMixin

#service_name

Attributes included from Contextual

#application_context

Instance Method Summary collapse

Methods included from ServiceMixin

#service_init, #stop

Methods included from Contextual

#get_work_directory, #init_service, #lookup

Methods included from Logging

#ldebug, #ldebug_callstack, #lerror, #lfatal, #linfo, #llog, #lunknown, #lwarn

Constructor Details

#initialize(service_name, application_context) ⇒ Service

Returns a new instance of Service.



90
91
92
93
# File 'lib/openwfe/service.rb', line 90

def initialize (service_name, application_context)

    service_init service_name, application_context
end