CVS: plexus-container-new/src/conf plexus.conf,1.8,1.9

[email protected] Thu, 1 May 2003 14:35:37 -0500
Newsgroups gmane.comp.java.plexus.devel
Message-ID <[email protected]>
Update of /cvsroot/plexus/plexus-container-new/src/conf
In directory eng.werken.com:/tmp/cvs-serv18124/src/conf

Modified Files:
	plexus.conf 
Log Message:
o This will require a separate message as more than a few changes have
occurred in order to support handling for various instantiation strategies
and scriptable components.



Index: plexus.conf
===================================================================
RCS file: /cvsroot/plexus/plexus-container-new/src/conf/plexus.conf,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- plexus.conf	29 Apr 2003 16:21:17 -0000	1.8
+++ plexus.conf	1 May 2003 19:35:35 -0000	1.9
@@ -3,7 +3,7 @@
     <implementation>org.apache.plexus.logging.ConsoleLoggerManager</implementation>
   </logging>
   <service-repository>
-    <implementation>org.apache.plexus.service.repository.DefaultServiceRepository</implementation>
+    <implementation>org.apache.plexus.service.repository.DefaultComponentRepository</implementation>
   </service-repository>
   <resource-manager>
     <implementation>org.apache.plexus.classloader.DefaultResourceManager</implementation>
@@ -35,18 +35,51 @@
       <phase implementation="org.apache.plexus.lifecycle.phase.DisposePhase"/>
     </end-segment>
   </lifecycle-handler>
-  <instantiation-strategies>
-     <instantiation-strategy>
-       <id>per-lookup</id>
-       <imlementation>org.apache.plexus.instantiation.PerLookupStrategy</imlementation>
-     </instantiation-strategy>
-      <instantiation-strategy>
-        <id>poolable</id>
-        <imlementation>org.apache.plexus.instantiation.SimplePoolableStrategy</imlementation>
-      </instantiation-strategy>
-      <instantiation-strategy>
-        <id>singleton</id>
-        <imlementation>org.apache.plexus.instantiation.SingletonStrategy</imlementation>
-      </instantiation-strategy>
-  </instantiation-strategies>
+
+  <!-- Default Components -->
+
+  <components>
+    <!--
+     |
+     | These are the default component factories.
+     |
+     -->
+    <component>
+      <role>org.apache.plexus.service.repository.factory.ComponentFactory</role>
+      <role-hint>java</role-hint>
+      <implementation>org.apache.plexus.service.repository.factory.JavaComponentFactory</implementation>
+      <configuration>
+      </configuration>
+    </component>
+
+    <!--
+     |
+     | These are the default instance managers.
+     |
+     -->
+    <component>
+      <role>org.apache.plexus.service.repository.instance.InstanceManager</role>
+      <role-hint>per-lookup</role-hint>
+      <implementation>org.apache.plexus.service.repository.instance.PerLookupInstanceManager</implementation>
+      <configuration>
+        <tag>per-lookup</tag>
+      </configuration>
+    </component>
+    <component>
+      <role>org.apache.plexus.service.repository.instance.InstanceManager</role>
+      <role-hint>poolable</role-hint>
+      <implementation>org.apache.plexus.service.repository.instance.PoolableInstanceManager</implementation>
+      <configuration>
+        <tag>poolable</tag>
+      </configuration>
+    </component>
+    <component>
+      <role>org.apache.plexus.service.repository.instance.InstanceManager</role>
+      <role-hint>singleton</role-hint>
+      <implementation>org.apache.plexus.service.repository.instance.SingletonInstanceManager</implementation>
+      <configuration>
+        <tag>poolable</tag>
+      </configuration>
+    </component>
+  </components>
 </plexus>