hlship      2004/04/07 13:03:29

  Modified:    xdocs    case1.xml services.xml descriptor.xml
  Log:
  Move the model descriptor element down to <create-instance> and 
<invoke-factory>.
  
  Revision  Changes    Path
  1.14      +2 -2      jakarta-hivemind/xdocs/case1.xml
  
  Index: case1.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/xdocs/case1.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- case1.xml 1 Mar 2004 22:56:27 -0000       1.13
  +++ case1.xml 7 Apr 2004 20:03:28 -0000       1.14
  @@ -29,7 +29,7 @@
   <section name="Introduction">
   
   <blockquote>
  -This case study is based on work done for my current employer, who has not 
(yet)
  +This case study is based on work done for my prior employer, who has not 
(yet)
   given approval to mention the project by name. The package names and module
   ids have been changed, and some minor changes and simplifications have been 
made.
   The actual name of the product has been disguised as <em>Panorama</em>.
  
  
  
  1.33      +3 -3      jakarta-hivemind/xdocs/services.xml
  
  Index: services.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/xdocs/services.xml,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- services.xml      26 Feb 2004 23:07:34 -0000      1.32
  +++ services.xml      7 Apr 2004 20:03:28 -0000       1.33
  @@ -429,7 +429,7 @@
   </p>
   
   <p>
  -Core service implementations may implemented the
  +Core service implementations may implemente the
   <a 
href="&apiroot;/RegistryShutdownListener.html">RegistryShutdownListener</a>     
  
   interface to receive a callback for final cleanups (as with the
   singleton and deferred service models).
  @@ -482,7 +482,7 @@
   
   <p>
   It is preferred that, whenever possible, services use the singleton service 
model (the default) and not
  -the singleton model.  All the service models (except for the primitive 
service model)
  +the primitive model.  All the service models (except for the primitive 
service model)
   expose a <b>proxy</b> object (implementing the service interface) to client 
code (included other services).
   These proxies are aware of when the Registry is shutdown and will throw an 
exception when a service method
   is invoked on them.
  
  
  
  1.32      +17 -8     jakarta-hivemind/xdocs/descriptor.xml
  
  Index: descriptor.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/xdocs/descriptor.xml,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- descriptor.xml    1 Mar 2004 22:56:27 -0000       1.31
  +++ descriptor.xml    7 Apr 2004 20:03:28 -0000       1.32
  @@ -220,6 +220,14 @@
                                        <td>yes</td>
                                        <td>Fully qualified class name to 
instantiate.</td>
                                </tr>
  +                             
  +                             <tr>
  +                                     <td>model</td>  
  +                                     <td><code>primitive | singleton | 
threaded | pooled</code></td>
  +                                     <td>no</td>
  +                                     <td>The model used to construct and 
manage the service.  <b>singleton</b> is
  +                                             the default.</td>
  +                             </tr>
   
                        </table>
                </section>              
  @@ -359,6 +367,14 @@
                                        <td>The id of the factory service.  
This may be a simple id for a service within the
                                                same module, or a fully 
qualified service id.</td>
                                </tr>           
  +                             
  +                             <tr>
  +                                     <td>model</td>  
  +                                     <td><code>primitive | singleton | 
threaded | pooled</code></td>
  +                                     <td>no</td>
  +                                     <td>The model used to construct and 
manage the service.  <b>singleton</b> is
  +                                             the default.</td>
  +                             </tr>                           
                        </table>
                        
                        <p>
  @@ -548,13 +564,6 @@
                                                service extension point.</td>
                                </tr>
                                                        
  -                             <tr>
  -                                     <td>model</td>  
  -                                     <td><code>primitive | singleton | 
threaded | pooled</code></td>
  -                                     <td>no</td>
  -                                     <td>The model used to construct and 
manage the service.  <b>singleton</b> is
  -                                             the default.</td>
  -                             </tr>
   
                        </table>
                        
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to