1 <?xml version="1.0" encoding="iso-8859-1"?>
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
8 <title>Module: MCollective::Registration</title>
9 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10 <meta http-equiv="Content-Script-Type" content="text/javascript" />
11 <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12 <script type="text/javascript">
15 function popupCode( url ) {
16 window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
19 function toggleCode( id ) {
20 if ( document.getElementById )
21 elem = document.getElementById( id );
22 else if ( document.all )
23 elem = eval( "document.all." + id );
27 elemStyle = elem.style;
29 if ( elemStyle.display != "block" ) {
30 elemStyle.display = "block"
32 elemStyle.display = "none"
38 // Make codeblocks hidden by default
39 document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
49 <div id="classHeader">
50 <table class="header-table">
51 <tr class="top-aligned-row">
52 <td><strong>Module</strong></td>
53 <td class="class-name-in-header">MCollective::Registration</td>
55 <tr class="top-aligned-row">
56 <td><strong>In:</strong></td>
58 <a href="../../files/lib/mcollective/registration/base_rb.html">
59 lib/mcollective/registration/base.rb
62 <a href="../../files/lib/mcollective/registration_rb.html">
63 lib/mcollective/registration.rb
71 <!-- banner header -->
73 <div id="bodyContent">
77 <div id="contextContent">
79 <div id="description">
81 <a href="Registration.html">Registration</a> is implimented using a module
82 structure and installations can configure which module they want to use.
85 We provide a simple one that just sends back the list of current known
86 agents in MCollective::Registration::Agentlist, you can create your own:
89 Create a module in plugins/mcollective/registration/<yourplugin>.rb
92 You can inherit from <a
93 href="Registration/Base.html">MCollective::Registration::Base</a> in which
94 case you just need to supply a <em>body</em> method, whatever this method
95 returns will be send to the middleware connection for an agent called
112 <div id="class-list">
113 <h3 class="section-bar">Classes and Modules</h3>
115 Class <a href="Registration/Base.html" class="link">MCollective::Registration::Base</a><br />
125 <!-- if method_list -->
131 <div id="validator-badges">
132 <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>