Class: MCollective::Connector::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/mcollective/connector/base.rb

Direct Known Subclasses

Activemq, Rabbitmq

Class Method Summary collapse

Class Method Details

.inherited(klass) ⇒ Object



19
20
21
22
23
# File 'lib/mcollective/connector/base.rb', line 19

def self.inherited(klass)
  plugin_name = klass.to_s.split("::").last.downcase
  ddl = DDL.new(plugin_name, :connector)
  PluginManager << {:type => "connector_plugin", :class => klass.to_s}
end