copland 0.8.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/manual-html/chapter-1.html +227 -36
- data/doc/manual-html/chapter-10.html +155 -82
- data/doc/manual-html/chapter-11.html +90 -267
- data/doc/manual-html/chapter-12.html +289 -71
- data/doc/manual-html/chapter-13.html +430 -0
- data/doc/manual-html/chapter-2.html +45 -21
- data/doc/manual-html/chapter-3.html +45 -21
- data/doc/manual-html/chapter-4.html +45 -21
- data/doc/manual-html/chapter-5.html +45 -21
- data/doc/manual-html/chapter-6.html +49 -21
- data/doc/manual-html/chapter-7.html +45 -21
- data/doc/manual-html/chapter-8.html +66 -26
- data/doc/manual-html/chapter-9.html +48 -24
- data/doc/manual-html/index.html +54 -22
- data/doc/manual-html/manual.css +12 -0
- data/doc/manual-html/tutorial-1.html +45 -21
- data/doc/manual-html/tutorial-2.html +45 -21
- data/doc/manual-html/tutorial-3.html +45 -21
- data/doc/manual-html/tutorial-4.html +45 -21
- data/doc/manual-html/tutorial-5.html +45 -21
- data/doc/manual/manual.css +12 -0
- data/doc/manual/manual.rb +1 -1
- data/doc/manual/manual.yml +426 -20
- data/doc/packages/copland.html +41 -9
- data/doc/packages/copland.lib.html +36 -8
- data/doc/packages/copland.remote.html +46 -10
- data/doc/packages/copland.webrick.html +16 -65
- data/doc/packages/index.html +1 -1
- data/doc/presentation/copland.mgp +1083 -0
- data/doc/presentation/to_html.rb +52 -0
- data/lib/copland/configuration-point/common.rb +32 -1
- data/lib/copland/configuration/yaml/service-point.rb +10 -1
- data/lib/copland/log-factory.rb +28 -12
- data/lib/copland/logger.rb +155 -0
- data/lib/copland/models/singleton.rb +8 -2
- data/lib/copland/package.rb +32 -14
- data/lib/copland/service-point.rb +7 -0
- data/lib/copland/thread.rb +104 -0
- data/lib/copland/utils.rb +10 -3
- data/lib/copland/version.rb +2 -2
- data/test/configuration/yaml/tc_service-point-processor.rb +8 -0
- data/test/custom-logger.yml +2 -1
- data/test/impl/tc_logging-interceptor.rb +12 -12
- data/test/logger.yml +1 -1
- data/test/mock.rb +2 -0
- data/test/tc_logger.rb +19 -6
- data/test/tc_package.rb +25 -0
- data/test/tc_queryable-mutex.rb +75 -0
- data/test/tc_registry.rb +8 -4
- metadata +9 -2
data/doc/packages/copland.html
CHANGED
@@ -76,7 +76,11 @@
|
|
76
76
|
<h2>Service Points</h2>
|
77
77
|
|
78
78
|
|
79
|
-
<h3
|
79
|
+
<h3>
|
80
|
+
<a name="ApplicationDefaults_sp">ApplicationDefaults</a>
|
81
|
+
<small><em>(singleton)</em></small>
|
82
|
+
|
83
|
+
</h3>
|
80
84
|
|
81
85
|
<div class="item-body">
|
82
86
|
|
@@ -107,7 +111,11 @@
|
|
107
111
|
</div>
|
108
112
|
|
109
113
|
|
110
|
-
<h3
|
114
|
+
<h3>
|
115
|
+
<a name="BuilderFactory_sp">BuilderFactory</a>
|
116
|
+
<small><em>(singleton)</em></small>
|
117
|
+
|
118
|
+
</h3>
|
111
119
|
|
112
120
|
<div class="item-body">
|
113
121
|
|
@@ -244,7 +252,11 @@
|
|
244
252
|
</div>
|
245
253
|
|
246
254
|
|
247
|
-
<h3
|
255
|
+
<h3>
|
256
|
+
<a name="FactoryDefaults_sp">FactoryDefaults</a>
|
257
|
+
<small><em>(singleton)</em></small>
|
258
|
+
|
259
|
+
</h3>
|
248
260
|
|
249
261
|
<div class="item-body">
|
250
262
|
|
@@ -275,7 +287,11 @@
|
|
275
287
|
</div>
|
276
288
|
|
277
289
|
|
278
|
-
<h3
|
290
|
+
<h3>
|
291
|
+
<a name="LogFactory_sp">LogFactory</a>
|
292
|
+
<small><em>(singleton)</em></small>
|
293
|
+
|
294
|
+
</h3>
|
279
295
|
|
280
296
|
<div class="item-body">
|
281
297
|
|
@@ -301,7 +317,11 @@
|
|
301
317
|
</div>
|
302
318
|
|
303
319
|
|
304
|
-
<h3
|
320
|
+
<h3>
|
321
|
+
<a name="LoggingInterceptor_sp">LoggingInterceptor</a>
|
322
|
+
<small><em>(singleton)</em></small>
|
323
|
+
|
324
|
+
</h3>
|
305
325
|
|
306
326
|
<div class="item-body">
|
307
327
|
|
@@ -332,7 +352,11 @@
|
|
332
352
|
</div>
|
333
353
|
|
334
354
|
|
335
|
-
<h3
|
355
|
+
<h3>
|
356
|
+
<a name="Registry_sp">Registry</a>
|
357
|
+
<small><em>(singleton)</em></small>
|
358
|
+
|
359
|
+
</h3>
|
336
360
|
|
337
361
|
<div class="item-body">
|
338
362
|
|
@@ -358,7 +382,11 @@
|
|
358
382
|
</div>
|
359
383
|
|
360
384
|
|
361
|
-
<h3
|
385
|
+
<h3>
|
386
|
+
<a name="Startup_sp">Startup</a>
|
387
|
+
<small><em>(singleton)</em></small>
|
388
|
+
|
389
|
+
</h3>
|
362
390
|
|
363
391
|
<div class="item-body">
|
364
392
|
|
@@ -389,7 +417,11 @@
|
|
389
417
|
</div>
|
390
418
|
|
391
419
|
|
392
|
-
<h3
|
420
|
+
<h3>
|
421
|
+
<a name="SymbolSourceManager_sp">SymbolSourceManager</a>
|
422
|
+
<small><em>(singleton)</em></small>
|
423
|
+
|
424
|
+
</h3>
|
393
425
|
|
394
426
|
<div class="item-body">
|
395
427
|
|
@@ -758,7 +790,7 @@
|
|
758
790
|
Generated by
|
759
791
|
<a href="http://copland.rubyforge.org">Copland</a>'s
|
760
792
|
Packrat documentation extractor
|
761
|
-
on
|
793
|
+
on Mon Oct 11 20:22:31 MDT 2004
|
762
794
|
</div>
|
763
795
|
</body>
|
764
796
|
</html>
|
@@ -52,7 +52,11 @@
|
|
52
52
|
<h2>Service Points</h2>
|
53
53
|
|
54
54
|
|
55
|
-
<h3
|
55
|
+
<h3>
|
56
|
+
<a name="BlockingInterceptor_sp">BlockingInterceptor</a>
|
57
|
+
<small><em>(singleton)</em></small>
|
58
|
+
|
59
|
+
</h3>
|
56
60
|
|
57
61
|
<div class="item-body">
|
58
62
|
|
@@ -116,7 +120,11 @@
|
|
116
120
|
</div>
|
117
121
|
|
118
122
|
|
119
|
-
<h3
|
123
|
+
<h3>
|
124
|
+
<a name="ClassBuilderFactory_sp">ClassBuilderFactory</a>
|
125
|
+
<small><em>(singleton)</em></small>
|
126
|
+
|
127
|
+
</h3>
|
120
128
|
|
121
129
|
<div class="item-body">
|
122
130
|
|
@@ -215,7 +223,11 @@
|
|
215
223
|
</div>
|
216
224
|
|
217
225
|
|
218
|
-
<h3
|
226
|
+
<h3>
|
227
|
+
<a name="ENVSymbolSource_sp">ENVSymbolSource</a>
|
228
|
+
<small><em>(singleton)</em></small>
|
229
|
+
|
230
|
+
</h3>
|
219
231
|
|
220
232
|
<div class="item-body">
|
221
233
|
|
@@ -241,7 +253,11 @@
|
|
241
253
|
</div>
|
242
254
|
|
243
255
|
|
244
|
-
<h3
|
256
|
+
<h3>
|
257
|
+
<a name="MulticastFactory_sp">MulticastFactory</a>
|
258
|
+
<small><em>(singleton)</em></small>
|
259
|
+
|
260
|
+
</h3>
|
245
261
|
|
246
262
|
<div class="item-body">
|
247
263
|
|
@@ -302,7 +318,11 @@
|
|
302
318
|
</div>
|
303
319
|
|
304
320
|
|
305
|
-
<h3
|
321
|
+
<h3>
|
322
|
+
<a name="RedirectingInterceptor_sp">RedirectingInterceptor</a>
|
323
|
+
<small><em>(singleton)</em></small>
|
324
|
+
|
325
|
+
</h3>
|
306
326
|
|
307
327
|
<div class="item-body">
|
308
328
|
|
@@ -363,7 +383,11 @@
|
|
363
383
|
</div>
|
364
384
|
|
365
385
|
|
366
|
-
<h3
|
386
|
+
<h3>
|
387
|
+
<a name="RubySymbolSource_sp">RubySymbolSource</a>
|
388
|
+
<small><em>(singleton)</em></small>
|
389
|
+
|
390
|
+
</h3>
|
367
391
|
|
368
392
|
<div class="item-body">
|
369
393
|
|
@@ -389,7 +413,11 @@
|
|
389
413
|
</div>
|
390
414
|
|
391
415
|
|
392
|
-
<h3
|
416
|
+
<h3>
|
417
|
+
<a name="SynchronizingInterceptor_sp">SynchronizingInterceptor</a>
|
418
|
+
<small><em>(singleton)</em></small>
|
419
|
+
|
420
|
+
</h3>
|
393
421
|
|
394
422
|
<div class="item-body">
|
395
423
|
|
@@ -433,7 +461,7 @@
|
|
433
461
|
Generated by
|
434
462
|
<a href="http://copland.rubyforge.org">Copland</a>'s
|
435
463
|
Packrat documentation extractor
|
436
|
-
on
|
464
|
+
on Mon Oct 11 20:22:31 MDT 2004
|
437
465
|
</div>
|
438
466
|
</body>
|
439
467
|
</html>
|
@@ -90,7 +90,11 @@
|
|
90
90
|
<h2>Service Points</h2>
|
91
91
|
|
92
92
|
|
93
|
-
<h3
|
93
|
+
<h3>
|
94
|
+
<a name="DRbServerFactory_sp">DRbServerFactory</a>
|
95
|
+
<small><em>(singleton)</em></small>
|
96
|
+
|
97
|
+
</h3>
|
94
98
|
|
95
99
|
<div class="item-body">
|
96
100
|
|
@@ -326,7 +330,11 @@
|
|
326
330
|
</div>
|
327
331
|
|
328
332
|
|
329
|
-
<h3
|
333
|
+
<h3>
|
334
|
+
<a name="DRbServiceFactory_sp">DRbServiceFactory</a>
|
335
|
+
<small><em>(singleton)</em></small>
|
336
|
+
|
337
|
+
</h3>
|
330
338
|
|
331
339
|
<div class="item-body">
|
332
340
|
|
@@ -387,7 +395,11 @@
|
|
387
395
|
</div>
|
388
396
|
|
389
397
|
|
390
|
-
<h3
|
398
|
+
<h3>
|
399
|
+
<a name="DefaultDRbServer_sp">DefaultDRbServer</a>
|
400
|
+
<small><em>(singleton-deferred)</em></small>
|
401
|
+
|
402
|
+
</h3>
|
391
403
|
|
392
404
|
<div class="item-body">
|
393
405
|
|
@@ -418,7 +430,11 @@
|
|
418
430
|
</div>
|
419
431
|
|
420
432
|
|
421
|
-
<h3
|
433
|
+
<h3>
|
434
|
+
<a name="DefaultSOAPServer_sp">DefaultSOAPServer</a>
|
435
|
+
<small><em>(singleton-deferred)</em></small>
|
436
|
+
|
437
|
+
</h3>
|
422
438
|
|
423
439
|
<div class="item-body">
|
424
440
|
|
@@ -449,7 +465,11 @@
|
|
449
465
|
</div>
|
450
466
|
|
451
467
|
|
452
|
-
<h3
|
468
|
+
<h3>
|
469
|
+
<a name="DefaultXMLRPCServer_sp">DefaultXMLRPCServer</a>
|
470
|
+
<small><em>(singleton-deferred)</em></small>
|
471
|
+
|
472
|
+
</h3>
|
453
473
|
|
454
474
|
<div class="item-body">
|
455
475
|
|
@@ -480,7 +500,11 @@
|
|
480
500
|
</div>
|
481
501
|
|
482
502
|
|
483
|
-
<h3
|
503
|
+
<h3>
|
504
|
+
<a name="SOAPServerFactory_sp">SOAPServerFactory</a>
|
505
|
+
<small><em>(singleton)</em></small>
|
506
|
+
|
507
|
+
</h3>
|
484
508
|
|
485
509
|
<div class="item-body">
|
486
510
|
|
@@ -735,7 +759,11 @@
|
|
735
759
|
</div>
|
736
760
|
|
737
761
|
|
738
|
-
<h3
|
762
|
+
<h3>
|
763
|
+
<a name="SOAPServiceFactory_sp">SOAPServiceFactory</a>
|
764
|
+
<small><em>(singleton)</em></small>
|
765
|
+
|
766
|
+
</h3>
|
739
767
|
|
740
768
|
<div class="item-body">
|
741
769
|
|
@@ -914,7 +942,11 @@
|
|
914
942
|
</div>
|
915
943
|
|
916
944
|
|
917
|
-
<h3
|
945
|
+
<h3>
|
946
|
+
<a name="XMLRPCServerFactory_sp">XMLRPCServerFactory</a>
|
947
|
+
<small><em>(singleton)</em></small>
|
948
|
+
|
949
|
+
</h3>
|
918
950
|
|
919
951
|
<div class="item-body">
|
920
952
|
|
@@ -1245,7 +1277,11 @@
|
|
1245
1277
|
</div>
|
1246
1278
|
|
1247
1279
|
|
1248
|
-
<h3
|
1280
|
+
<h3>
|
1281
|
+
<a name="XMLRPCServiceFactory_sp">XMLRPCServiceFactory</a>
|
1282
|
+
<small><em>(singleton)</em></small>
|
1283
|
+
|
1284
|
+
</h3>
|
1249
1285
|
|
1250
1286
|
<div class="item-body">
|
1251
1287
|
|
@@ -2090,7 +2126,7 @@
|
|
2090
2126
|
Generated by
|
2091
2127
|
<a href="http://copland.rubyforge.org">Copland</a>'s
|
2092
2128
|
Packrat documentation extractor
|
2093
|
-
on
|
2129
|
+
on Mon Oct 11 20:22:31 MDT 2004
|
2094
2130
|
</div>
|
2095
2131
|
</body>
|
2096
2132
|
</html>
|
@@ -27,12 +27,8 @@
|
|
27
27
|
|
28
28
|
<li><a href="copland.webrick.html#DefaultHTTPServer_sp">DefaultHTTPServer</a></li>
|
29
29
|
|
30
|
-
<li><a href="copland.webrick.html#DefaultHandler_sp">DefaultHandler</a></li>
|
31
|
-
|
32
30
|
<li><a href="copland.webrick.html#HTTPServerFactory_sp">HTTPServerFactory</a></li>
|
33
31
|
|
34
|
-
<li><a href="copland.webrick.html#ResultHandlers_sp">ResultHandlers</a></li>
|
35
|
-
|
36
32
|
<li><a href="copland.webrick.html#WWWRPCServletFactory_sp">WWWRPCServletFactory</a></li>
|
37
33
|
|
38
34
|
</ul>
|
@@ -68,7 +64,11 @@
|
|
68
64
|
<h2>Service Points</h2>
|
69
65
|
|
70
66
|
|
71
|
-
<h3
|
67
|
+
<h3>
|
68
|
+
<a name="DefaultHTTPServer_sp">DefaultHTTPServer</a>
|
69
|
+
<small><em>(singleton)</em></small>
|
70
|
+
|
71
|
+
</h3>
|
72
72
|
|
73
73
|
<div class="item-body">
|
74
74
|
|
@@ -99,33 +99,11 @@
|
|
99
99
|
</div>
|
100
100
|
|
101
101
|
|
102
|
-
<h3
|
103
|
-
|
104
|
-
<
|
105
|
-
|
106
|
-
|
107
|
-
<p class="description">
|
108
|
-
An implementation of a default data handler, handling some of the more common data types returned by services.
|
109
|
-
</p>
|
110
|
-
|
111
|
-
|
112
|
-
<h4>Implementor</h4>
|
113
|
-
<div class="definition-item">
|
114
|
-
|
115
|
-
copland/webrick/default-handler/Copland::WEBrick::DefaultHandler
|
116
|
-
|
117
|
-
</div>
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
</div>
|
126
|
-
|
127
|
-
|
128
|
-
<h3><a name="HTTPServerFactory_sp">HTTPServerFactory</a> <small><em>(singleton)</em></small></h3>
|
102
|
+
<h3>
|
103
|
+
<a name="HTTPServerFactory_sp">HTTPServerFactory</a>
|
104
|
+
<small><em>(singleton)</em></small>
|
105
|
+
|
106
|
+
</h3>
|
129
107
|
|
130
108
|
<div class="item-body">
|
131
109
|
|
@@ -205,38 +183,11 @@
|
|
205
183
|
</div>
|
206
184
|
|
207
185
|
|
208
|
-
<h3
|
209
|
-
|
210
|
-
<
|
211
|
-
|
212
|
-
|
213
|
-
<p class="description">
|
214
|
-
A collection of ResultHandlers (taken from the ResultHandlers configuration point). This service allows those handlers to be invoked via a single interface.
|
215
|
-
</p>
|
216
|
-
|
217
|
-
|
218
|
-
<h4>Implementor</h4>
|
219
|
-
<div class="definition-item">
|
220
|
-
|
221
|
-
<ul>
|
222
|
-
<li>factory: <a href="copland.html#BuilderFactory_sp">copland.BuilderFactory</a></li>
|
223
|
-
|
224
|
-
<li>class: copland/webrick/result-handlers/Copland::WEBrick::ResultHandlers</li><li>parameters: <ul><li>!!configuration <a href="copland.webrick.html#ResultHandlers_cp">copland.webrick.ResultHandlers</a></li></ul></li>
|
225
|
-
|
226
|
-
</ul>
|
227
|
-
|
228
|
-
</div>
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
</div>
|
237
|
-
|
238
|
-
|
239
|
-
<h3><a name="WWWRPCServletFactory_sp">WWWRPCServletFactory</a> <small><em>(singleton)</em></small></h3>
|
186
|
+
<h3>
|
187
|
+
<a name="WWWRPCServletFactory_sp">WWWRPCServletFactory</a>
|
188
|
+
<small><em>(singleton)</em></small>
|
189
|
+
|
190
|
+
</h3>
|
240
191
|
|
241
192
|
<div class="item-body">
|
242
193
|
|
@@ -919,7 +870,7 @@
|
|
919
870
|
Generated by
|
920
871
|
<a href="http://copland.rubyforge.org">Copland</a>'s
|
921
872
|
Packrat documentation extractor
|
922
|
-
on
|
873
|
+
on Mon Oct 11 20:22:31 MDT 2004
|
923
874
|
</div>
|
924
875
|
</body>
|
925
876
|
</html>
|