You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by bw...@apache.org on 2003/04/26 18:52:57 UTC

cvs commit: maven-new/core/xdocs plugin-manager.xml

bwalding    2003/04/26 09:52:57

  Added:       core/xdocs plugin-manager.xml
  Log:
  core module
  
  Revision  Changes    Path
  1.1                  maven-new/core/xdocs/plugin-manager.xml
  
  Index: plugin-manager.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <document>
  
    <properties>
      <title>Maven</title>
      <author email="bwalding@apache.org">Ben Walding</author>
    </properties>
  
    <body>
  
    <section name="Plugin Manager">
      <p>
  		The plugin manager manages plugins.
      </p>
      
      <p>
      	We deem that the plugin manager OWNS the plugins.  It is responsible
      	for the lifecycle, and can shut them down on a whim.  It may turn out that
      	the plugin manager is essentially an Avalon container.
     	</p>
      
    
      <subsection name="Lifecycle">
      	<p>Initialisation</p>
      	<ol>
  			<li>Load configuration</li>
  			<li>Populate cache (either load from disk cache / from plugins)</li>
  			<li>Ready to serve...
      	</ol>
      	
      	<p>Servicing requests</p>
      	<ol>
      		<li>New request for plugin comes in</li>
      		<li>Locate plugin</li>
      		<li>Load plugin handler (essentially this would be a factory?)</li>
      		<li>Tell handler to load plugin</li>
      	</ol>
      	
      	<p>Finalisation</p>
      	<ol>
      		<li>Write disk cache</li>
      		<li>Free memory</li>
      		<li>Shutdown plugins</li>
      	</ol>
      </subsection>
    </section>
    
  
  </body>
  </document>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org