trimurti 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/trimurti-0.1/docs/classes/Array.html +176 -0
- data/trimurti-0.1/docs/classes/Array.src/M000005.html +19 -0
- data/trimurti-0.1/docs/classes/Array.src/M000006.html +19 -0
- data/trimurti-0.1/docs/classes/Asserter.html +136 -0
- data/trimurti-0.1/docs/classes/Brahma.html +360 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000029.html +21 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000030.html +20 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000031.html +36 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000032.html +18 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000033.html +20 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000034.html +21 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000035.html +25 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000036.html +22 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000037.html +22 -0
- data/trimurti-0.1/docs/classes/ComponentSpec.html +275 -0
- data/trimurti-0.1/docs/classes/ComponentSpec.src/M000001.html +21 -0
- data/trimurti-0.1/docs/classes/ComponentSpec.src/M000002.html +18 -0
- data/trimurti-0.1/docs/classes/DRb.html +165 -0
- data/trimurti-0.1/docs/classes/DRb.src/M000062.html +18 -0
- data/trimurti-0.1/docs/classes/DRb.src/M000063.html +18 -0
- data/trimurti-0.1/docs/classes/GUID.html +129 -0
- data/trimurti-0.1/docs/classes/Linda.html +444 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000007.html +16 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000008.html +16 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000009.html +20 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000010.html +16 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000011.html +18 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000012.html +21 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000013.html +18 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000014.html +18 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000015.html +18 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000016.html +18 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000017.html +20 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000018.html +20 -0
- data/trimurti-0.1/docs/classes/Object.html +153 -0
- data/trimurti-0.1/docs/classes/Object.src/M000021.html +18 -0
- data/trimurti-0.1/docs/classes/Plugins.html +174 -0
- data/trimurti-0.1/docs/classes/Plugins.src/M000024.html +32 -0
- data/trimurti-0.1/docs/classes/Plugins.src/M000025.html +32 -0
- data/trimurti-0.1/docs/classes/Plugins/Spec.html +267 -0
- data/trimurti-0.1/docs/classes/Plugins/Spec.src/M000026.html +22 -0
- data/trimurti-0.1/docs/classes/Plugins/Spec.src/M000027.html +18 -0
- data/trimurti-0.1/docs/classes/Plugins/Spec.src/M000028.html +20 -0
- data/trimurti-0.1/docs/classes/QBE_ID.html +147 -0
- data/trimurti-0.1/docs/classes/QBE_ID.src/M000059.html +18 -0
- data/trimurti-0.1/docs/classes/QueryByExample.html +270 -0
- data/trimurti-0.1/docs/classes/QueryByExample.src/M000054.html +17 -0
- data/trimurti-0.1/docs/classes/QueryByExample.src/M000055.html +17 -0
- data/trimurti-0.1/docs/classes/QueryByExample.src/M000056.html +17 -0
- data/trimurti-0.1/docs/classes/QueryByExample.src/M000057.html +17 -0
- data/trimurti-0.1/docs/classes/QueryByExample.src/M000058.html +17 -0
- data/trimurti-0.1/docs/classes/Shiva.html +159 -0
- data/trimurti-0.1/docs/classes/Shiva.src/M000060.html +18 -0
- data/trimurti-0.1/docs/classes/Shiva.src/M000061.html +19 -0
- data/trimurti-0.1/docs/classes/String.html +176 -0
- data/trimurti-0.1/docs/classes/String.src/M000022.html +16 -0
- data/trimurti-0.1/docs/classes/String.src/M000023.html +16 -0
- data/trimurti-0.1/docs/classes/Symbol.html +176 -0
- data/trimurti-0.1/docs/classes/Symbol.src/M000003.html +16 -0
- data/trimurti-0.1/docs/classes/Symbol.src/M000004.html +16 -0
- data/trimurti-0.1/docs/classes/Trimurti.html +189 -0
- data/trimurti-0.1/docs/classes/Trimurti.src/M000019.html +16 -0
- data/trimurti-0.1/docs/classes/Trimurti.src/M000020.html +16 -0
- data/trimurti-0.1/docs/classes/Vishnu.html +563 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000038.html +18 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000039.html +18 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000040.html +18 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000041.html +22 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000042.html +23 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000043.html +24 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000044.html +24 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000045.html +18 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000046.html +22 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000047.html +20 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000048.html +18 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000049.html +22 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000050.html +20 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000051.html +19 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000052.html +30 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000053.html +21 -0
- data/trimurti-0.1/docs/created.rid +1 -0
- data/trimurti-0.1/docs/dot/f_0.dot +14 -0
- data/trimurti-0.1/docs/dot/f_0.png +0 -0
- data/trimurti-0.1/docs/dot/f_1.dot +14 -0
- data/trimurti-0.1/docs/dot/f_1.png +0 -0
- data/trimurti-0.1/docs/dot/f_2.dot +14 -0
- data/trimurti-0.1/docs/dot/f_2.png +0 -0
- data/trimurti-0.1/docs/dot/f_3.dot +39 -0
- data/trimurti-0.1/docs/dot/f_3.png +0 -0
- data/trimurti-0.1/docs/dot/f_4.dot +39 -0
- data/trimurti-0.1/docs/dot/f_4.png +0 -0
- data/trimurti-0.1/docs/dot/f_5.dot +69 -0
- data/trimurti-0.1/docs/dot/f_5.png +0 -0
- data/trimurti-0.1/docs/dot/f_6.dot +149 -0
- data/trimurti-0.1/docs/dot/f_6.png +0 -0
- data/trimurti-0.1/docs/dot/m_3_0.dot +30 -0
- data/trimurti-0.1/docs/dot/m_3_0.png +0 -0
- data/trimurti-0.1/docs/dot/m_4_0.dot +39 -0
- data/trimurti-0.1/docs/dot/m_4_0.png +0 -0
- data/trimurti-0.1/docs/dot/m_5_0.dot +40 -0
- data/trimurti-0.1/docs/dot/m_5_0.png +0 -0
- data/trimurti-0.1/docs/dot/m_5_1.dot +30 -0
- data/trimurti-0.1/docs/dot/m_5_1.png +0 -0
- data/trimurti-0.1/docs/dot/m_6_0.dot +40 -0
- data/trimurti-0.1/docs/dot/m_6_0.png +0 -0
- data/trimurti-0.1/docs/dot/m_6_1.dot +30 -0
- data/trimurti-0.1/docs/dot/m_6_1.png +0 -0
- data/trimurti-0.1/docs/dot/m_6_2.dot +30 -0
- data/trimurti-0.1/docs/dot/m_6_2.png +0 -0
- data/trimurti-0.1/docs/files/License_txt.html +132 -0
- data/trimurti-0.1/docs/files/ReadMe_Amber_txt.html +491 -0
- data/trimurti-0.1/docs/files/ReadMe_txt.html +694 -0
- data/trimurti-0.1/docs/files/nist/trimurti/linda_rb.html +129 -0
- data/trimurti-0.1/docs/files/nist/trimurti/plugins_rb.html +129 -0
- data/trimurti-0.1/docs/files/nist/trimurti/queryByExample_rb.html +128 -0
- data/trimurti-0.1/docs/files/nist/trimurti/trimurti_rb.html +151 -0
- data/trimurti-0.1/docs/fr_class_index.html +43 -0
- data/trimurti-0.1/docs/fr_file_index.html +33 -0
- data/trimurti-0.1/docs/fr_method_index.html +89 -0
- data/trimurti-0.1/docs/images/overview.jpg +0 -0
- data/trimurti-0.1/docs/index.html +24 -0
- data/trimurti-0.1/docs/rdoc-style.css +208 -0
- data/trimurti-0.1/lib/nist/trimurti/linda.rb +163 -0
- data/trimurti-0.1/lib/nist/trimurti/plugins.rb +107 -0
- data/trimurti-0.1/lib/nist/trimurti/queryByExample.rb +81 -0
- data/trimurti-0.1/lib/nist/trimurti/trimurti.rb +433 -0
- data/trimurti-0.1/tests/test_linda.rb +111 -0
- data/trimurti-0.1/tests/test_trimurti.rb +247 -0
- metadata +241 -0
@@ -0,0 +1,176 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: Array</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">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">Array</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/nist/trimurti/trimurti_rb.html">
|
59
|
+
nist/trimurti/trimurti.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
<a href="Object.html">
|
69
|
+
Object
|
70
|
+
</a>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
</table>
|
74
|
+
</div>
|
75
|
+
<!-- banner header -->
|
76
|
+
|
77
|
+
<div id="bodyContent">
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<div id="contextContent">
|
82
|
+
<div id="diagram">
|
83
|
+
<map id="map" name="map">
|
84
|
+
<area shape="RECT" coords="125,221,197,269" href="Trimurti.html" alt="Trimurti">
|
85
|
+
<area shape="RECT" coords="317,29,426,77" href="ComponentSpec.html" alt="ComponentSpec">
|
86
|
+
<area shape="RECT" coords="450,29,522,77" href="Symbol.html" alt="Symbol">
|
87
|
+
<area shape="RECT" coords="546,29,618,77" href="Array.html" alt="Array">
|
88
|
+
<area shape="RECT" coords="666,125,738,173" href="Asserter.html" alt="Asserter">
|
89
|
+
<area shape="RECT" coords="786,29,858,77" href="String.html" alt="String">
|
90
|
+
<area shape="RECT" coords="642,29,762,77" href="Test/Unit/Assertions.html" alt="Test::Unit::Assertions">
|
91
|
+
<area shape="RECT" coords="125,125,197,173" href="Plugins.html" alt="Plugins">
|
92
|
+
<area shape="RECT" coords="210,114,304,161" href="Brahma.html" alt="Brahma">
|
93
|
+
<area shape="RECT" coords="210,18,304,65" href="Vishnu.html" alt="Vishnu">
|
94
|
+
<area shape="RECT" coords="18,114,112,161" href="Shiva.html" alt="Shiva">
|
95
|
+
</map>
|
96
|
+
<img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel">
|
97
|
+
</div>
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
</div>
|
102
|
+
|
103
|
+
<div id="method-list">
|
104
|
+
<h3 class="section-bar">Methods</h3>
|
105
|
+
|
106
|
+
<div class="name-list">
|
107
|
+
<a href="#M000006">to_component_spec</a>
|
108
|
+
<a href="#M000005">to_service_spec</a>
|
109
|
+
</div>
|
110
|
+
</div>
|
111
|
+
|
112
|
+
</div>
|
113
|
+
|
114
|
+
|
115
|
+
<!-- if includes -->
|
116
|
+
|
117
|
+
<div id="section">
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
<!-- if method_list -->
|
127
|
+
<div id="methods">
|
128
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
129
|
+
|
130
|
+
<div id="method-M000006" class="method-detail">
|
131
|
+
<a name="M000006"></a>
|
132
|
+
|
133
|
+
<div class="method-heading">
|
134
|
+
<a href="Array.src/M000006.html" target="Code" class="method-signature"
|
135
|
+
onclick="popupCode('Array.src/M000006.html');return false;">
|
136
|
+
<span class="method-name">to_component_spec</span><span class="method-args">()</span>
|
137
|
+
</a>
|
138
|
+
</div>
|
139
|
+
|
140
|
+
<div class="method-description">
|
141
|
+
<p>
|
142
|
+
Must be [name, host]
|
143
|
+
</p>
|
144
|
+
</div>
|
145
|
+
</div>
|
146
|
+
|
147
|
+
<div id="method-M000005" class="method-detail">
|
148
|
+
<a name="M000005"></a>
|
149
|
+
|
150
|
+
<div class="method-heading">
|
151
|
+
<a href="Array.src/M000005.html" target="Code" class="method-signature"
|
152
|
+
onclick="popupCode('Array.src/M000005.html');return false;">
|
153
|
+
<span class="method-name">to_service_spec</span><span class="method-args">()</span>
|
154
|
+
</a>
|
155
|
+
</div>
|
156
|
+
|
157
|
+
<div class="method-description">
|
158
|
+
<p>
|
159
|
+
Must be [name, host, symbol]
|
160
|
+
</p>
|
161
|
+
</div>
|
162
|
+
</div>
|
163
|
+
|
164
|
+
|
165
|
+
</div>
|
166
|
+
|
167
|
+
|
168
|
+
</div>
|
169
|
+
|
170
|
+
|
171
|
+
<div id="validator-badges">
|
172
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
173
|
+
</div>
|
174
|
+
|
175
|
+
</body>
|
176
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>to_service_spec (Array)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File nist/trimurti/trimurti.rb, line 34</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_service_spec</span>
|
15
|
+
<span class="ruby-constant">ASSERTER</span>.<span class="ruby-identifier">assert_equal</span>(<span class="ruby-value">3</span>, <span class="ruby-identifier">size</span>, <span class="ruby-value str">'Service spec must be in form: [name, host, symbol] (see Brahma#service)'</span>)
|
16
|
+
<span class="ruby-keyword kw">self</span>
|
17
|
+
<span class="ruby-keyword kw">end</span></pre>
|
18
|
+
</body>
|
19
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>to_component_spec (Array)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File nist/trimurti/trimurti.rb, line 39</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_component_spec</span>
|
15
|
+
<span class="ruby-constant">ASSERTER</span>.<span class="ruby-identifier">assert_equal</span>(<span class="ruby-value">2</span>, <span class="ruby-identifier">size</span>, <span class="ruby-value str">'Component spec must be in form: [name, host] (see Brahma#component)'</span>)
|
16
|
+
<span class="ruby-keyword kw">self</span>
|
17
|
+
<span class="ruby-keyword kw">end</span></pre>
|
18
|
+
</body>
|
19
|
+
</html>
|
@@ -0,0 +1,136 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: Asserter</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">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">Asserter</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/nist/trimurti/trimurti_rb.html">
|
59
|
+
nist/trimurti/trimurti.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
<a href="Object.html">
|
69
|
+
Object
|
70
|
+
</a>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
</table>
|
74
|
+
</div>
|
75
|
+
<!-- banner header -->
|
76
|
+
|
77
|
+
<div id="bodyContent">
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<div id="contextContent">
|
82
|
+
<div id="diagram">
|
83
|
+
<map id="map" name="map">
|
84
|
+
<area shape="RECT" coords="125,221,197,269" href="Trimurti.html" alt="Trimurti">
|
85
|
+
<area shape="RECT" coords="317,29,426,77" href="ComponentSpec.html" alt="ComponentSpec">
|
86
|
+
<area shape="RECT" coords="450,29,522,77" href="Symbol.html" alt="Symbol">
|
87
|
+
<area shape="RECT" coords="546,29,618,77" href="Array.html" alt="Array">
|
88
|
+
<area shape="RECT" coords="666,125,738,173" href="Asserter.html" alt="Asserter">
|
89
|
+
<area shape="RECT" coords="786,29,858,77" href="String.html" alt="String">
|
90
|
+
<area shape="RECT" coords="642,29,762,77" href="Test/Unit/Assertions.html" alt="Test::Unit::Assertions">
|
91
|
+
<area shape="RECT" coords="125,125,197,173" href="Plugins.html" alt="Plugins">
|
92
|
+
<area shape="RECT" coords="210,114,304,161" href="Brahma.html" alt="Brahma">
|
93
|
+
<area shape="RECT" coords="210,18,304,65" href="Vishnu.html" alt="Vishnu">
|
94
|
+
<area shape="RECT" coords="18,114,112,161" href="Shiva.html" alt="Shiva">
|
95
|
+
</map>
|
96
|
+
<img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel">
|
97
|
+
</div>
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
</div>
|
102
|
+
|
103
|
+
|
104
|
+
</div>
|
105
|
+
|
106
|
+
|
107
|
+
<!-- if includes -->
|
108
|
+
<div id="includes">
|
109
|
+
<h3 class="section-bar">Included Modules</h3>
|
110
|
+
|
111
|
+
<div id="includes-list">
|
112
|
+
<span class="include-name">Test::Unit::Assertions</span>
|
113
|
+
</div>
|
114
|
+
</div>
|
115
|
+
|
116
|
+
<div id="section">
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
<!-- if method_list -->
|
126
|
+
|
127
|
+
|
128
|
+
</div>
|
129
|
+
|
130
|
+
|
131
|
+
<div id="validator-badges">
|
132
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
133
|
+
</div>
|
134
|
+
|
135
|
+
</body>
|
136
|
+
</html>
|
@@ -0,0 +1,360 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Module: Brahma</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">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
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">Brahma</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/nist/trimurti/trimurti_rb.html">
|
59
|
+
nist/trimurti/trimurti.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
</table>
|
66
|
+
</div>
|
67
|
+
<!-- banner header -->
|
68
|
+
|
69
|
+
<div id="bodyContent">
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<div id="contextContent">
|
74
|
+
<div id="diagram">
|
75
|
+
<map id="map" name="map">
|
76
|
+
<area shape="RECT" coords="29,8,101,56" href="Vishnu.html" alt="Vishnu">
|
77
|
+
<area shape="RECT" coords="18,70,112,117" href="Brahma.html" alt="Brahma">
|
78
|
+
</map>
|
79
|
+
<img src="../dot/m_6_0.png" usemap="#map" border=0 alt="Module: Brahma">
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<div id="description">
|
83
|
+
<p>
|
84
|
+
<a href="Brahma.html">Brahma</a> creates applications from components and
|
85
|
+
services.
|
86
|
+
</p>
|
87
|
+
|
88
|
+
</div>
|
89
|
+
|
90
|
+
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<div id="method-list">
|
94
|
+
<h3 class="section-bar">Methods</h3>
|
95
|
+
|
96
|
+
<div class="name-list">
|
97
|
+
<a href="#M000034">_connect</a>
|
98
|
+
<a href="#M000033">assemble</a>
|
99
|
+
<a href="#M000031">connect_services</a>
|
100
|
+
<a href="#M000036">create_component</a>
|
101
|
+
<a href="#M000037">create_registered_component</a>
|
102
|
+
<a href="#M000035">from_yaml</a>
|
103
|
+
<a href="#M000029">register_component_services</a>
|
104
|
+
<a href="#M000030">register_services</a>
|
105
|
+
<a href="#M000032">start_components</a>
|
106
|
+
</div>
|
107
|
+
</div>
|
108
|
+
|
109
|
+
</div>
|
110
|
+
|
111
|
+
|
112
|
+
<!-- if includes -->
|
113
|
+
<div id="includes">
|
114
|
+
<h3 class="section-bar">Included Modules</h3>
|
115
|
+
|
116
|
+
<div id="includes-list">
|
117
|
+
<span class="include-name"><a href="Vishnu.html">Vishnu</a></span>
|
118
|
+
</div>
|
119
|
+
</div>
|
120
|
+
|
121
|
+
<div id="section">
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
<!-- if method_list -->
|
131
|
+
<div id="methods">
|
132
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
133
|
+
|
134
|
+
<div id="method-M000034" class="method-detail">
|
135
|
+
<a name="M000034"></a>
|
136
|
+
|
137
|
+
<div class="method-heading">
|
138
|
+
<a href="Brahma.src/M000034.html" target="Code" class="method-signature"
|
139
|
+
onclick="popupCode('Brahma.src/M000034.html');return false;">
|
140
|
+
<span class="method-name">_connect</span><span class="method-args">(component, name, setter, provider)</span>
|
141
|
+
</a>
|
142
|
+
</div>
|
143
|
+
|
144
|
+
<div class="method-description">
|
145
|
+
<p>
|
146
|
+
Returns nil if successful, an error <a href="String.html">String</a> if a
|
147
|
+
problem occured.
|
148
|
+
</p>
|
149
|
+
</div>
|
150
|
+
</div>
|
151
|
+
|
152
|
+
<div id="method-M000033" class="method-detail">
|
153
|
+
<a name="M000033"></a>
|
154
|
+
|
155
|
+
<div class="method-heading">
|
156
|
+
<a href="Brahma.src/M000033.html" target="Code" class="method-signature"
|
157
|
+
onclick="popupCode('Brahma.src/M000033.html');return false;">
|
158
|
+
<span class="method-name">assemble</span><span class="method-args">()</span>
|
159
|
+
</a>
|
160
|
+
</div>
|
161
|
+
|
162
|
+
<div class="method-description">
|
163
|
+
<p>
|
164
|
+
Assembles the application from registered components by:
|
165
|
+
</p>
|
166
|
+
<ul>
|
167
|
+
<li>Registering all the services provided by the components
|
168
|
+
|
169
|
+
</li>
|
170
|
+
<li>Connecting service consumers to service providers.
|
171
|
+
|
172
|
+
</li>
|
173
|
+
<li>Starting the components
|
174
|
+
|
175
|
+
</li>
|
176
|
+
</ul>
|
177
|
+
</div>
|
178
|
+
</div>
|
179
|
+
|
180
|
+
<div id="method-M000031" class="method-detail">
|
181
|
+
<a name="M000031"></a>
|
182
|
+
|
183
|
+
<div class="method-heading">
|
184
|
+
<a href="Brahma.src/M000031.html" target="Code" class="method-signature"
|
185
|
+
onclick="popupCode('Brahma.src/M000031.html');return false;">
|
186
|
+
<span class="method-name">connect_services</span><span class="method-args">()</span>
|
187
|
+
</a>
|
188
|
+
</div>
|
189
|
+
|
190
|
+
<div class="method-description">
|
191
|
+
<p>
|
192
|
+
For each component, get the services it needs, and set them.
|
193
|
+
</p>
|
194
|
+
</div>
|
195
|
+
</div>
|
196
|
+
|
197
|
+
<div id="method-M000036" class="method-detail">
|
198
|
+
<a name="M000036"></a>
|
199
|
+
|
200
|
+
<div class="method-heading">
|
201
|
+
<a href="Brahma.src/M000036.html" target="Code" class="method-signature"
|
202
|
+
onclick="popupCode('Brahma.src/M000036.html');return false;">
|
203
|
+
<span class="method-name">create_component</span><span class="method-args">(componentSpec)</span>
|
204
|
+
</a>
|
205
|
+
</div>
|
206
|
+
|
207
|
+
<div class="method-description">
|
208
|
+
<p>
|
209
|
+
Creates component:
|
210
|
+
</p>
|
211
|
+
<ul>
|
212
|
+
<li>Uses ‘require’ to load any necessary source
|
213
|
+
|
214
|
+
</li>
|
215
|
+
<li>Executes life_cycle[:create] code
|
216
|
+
|
217
|
+
</li>
|
218
|
+
<li>Sets compSpec.component
|
219
|
+
|
220
|
+
</li>
|
221
|
+
</ul>
|
222
|
+
</div>
|
223
|
+
</div>
|
224
|
+
|
225
|
+
<div id="method-M000037" class="method-detail">
|
226
|
+
<a name="M000037"></a>
|
227
|
+
|
228
|
+
<div class="method-heading">
|
229
|
+
<a href="Brahma.src/M000037.html" target="Code" class="method-signature"
|
230
|
+
onclick="popupCode('Brahma.src/M000037.html');return false;">
|
231
|
+
<span class="method-name">create_registered_component</span><span class="method-args">(compSpec)</span>
|
232
|
+
</a>
|
233
|
+
</div>
|
234
|
+
|
235
|
+
<div class="method-description">
|
236
|
+
<p>
|
237
|
+
Creates and registers component:
|
238
|
+
</p>
|
239
|
+
<ul>
|
240
|
+
<li>Uses ‘require’ to load any necessary source
|
241
|
+
|
242
|
+
</li>
|
243
|
+
<li>Executes life_cycle[:create] code
|
244
|
+
|
245
|
+
</li>
|
246
|
+
<li>Sets compSpec.component
|
247
|
+
|
248
|
+
</li>
|
249
|
+
<li>Registers the component
|
250
|
+
|
251
|
+
</li>
|
252
|
+
</ul>
|
253
|
+
<p>
|
254
|
+
Returns nil or an error <a href="String.html">String</a>.
|
255
|
+
</p>
|
256
|
+
</div>
|
257
|
+
</div>
|
258
|
+
|
259
|
+
<div id="method-M000035" class="method-detail">
|
260
|
+
<a name="M000035"></a>
|
261
|
+
|
262
|
+
<div class="method-heading">
|
263
|
+
<a href="Brahma.src/M000035.html" target="Code" class="method-signature"
|
264
|
+
onclick="popupCode('Brahma.src/M000035.html');return false;">
|
265
|
+
<span class="method-name">from_yaml</span><span class="method-args">(source, isFilename=true)</span>
|
266
|
+
</a>
|
267
|
+
</div>
|
268
|
+
|
269
|
+
<div class="method-description">
|
270
|
+
<p>
|
271
|
+
Registers components described in a YAML file. Does not register the
|
272
|
+
services contained in the components, and does not hook together the
|
273
|
+
service providers and consumers. Source can be
|
274
|
+
</p>
|
275
|
+
<ul>
|
276
|
+
<li>A <a href="String.html">String</a> naming a file containing a YAML
|
277
|
+
serialization (if isFilename=true)
|
278
|
+
|
279
|
+
</li>
|
280
|
+
<li>A <a href="String.html">String</a> containing a YAML serialization (if
|
281
|
+
isFilename=false)
|
282
|
+
|
283
|
+
</li>
|
284
|
+
<li>An IO streaming over a YAML serialization (if isFilename=false)
|
285
|
+
|
286
|
+
</li>
|
287
|
+
</ul>
|
288
|
+
<p>
|
289
|
+
In any case, the YAML serialization must contain an <a
|
290
|
+
href="Array.html">Array</a> of <a
|
291
|
+
href="ComponentSpec.html">ComponentSpec</a> instances.
|
292
|
+
</p>
|
293
|
+
</div>
|
294
|
+
</div>
|
295
|
+
|
296
|
+
<div id="method-M000029" class="method-detail">
|
297
|
+
<a name="M000029"></a>
|
298
|
+
|
299
|
+
<div class="method-heading">
|
300
|
+
<a href="Brahma.src/M000029.html" target="Code" class="method-signature"
|
301
|
+
onclick="popupCode('Brahma.src/M000029.html');return false;">
|
302
|
+
<span class="method-name">register_component_services</span><span class="method-args">(componentTuple)</span>
|
303
|
+
</a>
|
304
|
+
</div>
|
305
|
+
|
306
|
+
<div class="method-description">
|
307
|
+
<p>
|
308
|
+
Register the services of specified component. Each service shares the name
|
309
|
+
of its component.
|
310
|
+
</p>
|
311
|
+
</div>
|
312
|
+
</div>
|
313
|
+
|
314
|
+
<div id="method-M000030" class="method-detail">
|
315
|
+
<a name="M000030"></a>
|
316
|
+
|
317
|
+
<div class="method-heading">
|
318
|
+
<a href="Brahma.src/M000030.html" target="Code" class="method-signature"
|
319
|
+
onclick="popupCode('Brahma.src/M000030.html');return false;">
|
320
|
+
<span class="method-name">register_services</span><span class="method-args">()</span>
|
321
|
+
</a>
|
322
|
+
</div>
|
323
|
+
|
324
|
+
<div class="method-description">
|
325
|
+
<p>
|
326
|
+
Register the services of every previously registered component
|
327
|
+
</p>
|
328
|
+
</div>
|
329
|
+
</div>
|
330
|
+
|
331
|
+
<div id="method-M000032" class="method-detail">
|
332
|
+
<a name="M000032"></a>
|
333
|
+
|
334
|
+
<div class="method-heading">
|
335
|
+
<a href="Brahma.src/M000032.html" target="Code" class="method-signature"
|
336
|
+
onclick="popupCode('Brahma.src/M000032.html');return false;">
|
337
|
+
<span class="method-name">start_components</span><span class="method-args">()</span>
|
338
|
+
</a>
|
339
|
+
</div>
|
340
|
+
|
341
|
+
<div class="method-description">
|
342
|
+
<p>
|
343
|
+
For each component, evaluate the life_cycle[:start] code.
|
344
|
+
</p>
|
345
|
+
</div>
|
346
|
+
</div>
|
347
|
+
|
348
|
+
|
349
|
+
</div>
|
350
|
+
|
351
|
+
|
352
|
+
</div>
|
353
|
+
|
354
|
+
|
355
|
+
<div id="validator-badges">
|
356
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
357
|
+
</div>
|
358
|
+
|
359
|
+
</body>
|
360
|
+
</html>
|