CVS: plexus-container/src/java/org/apache/plexus PlexusContainer.java,1.6,1.7

[email protected] Thu, 12 Jun 2003 20:08:54 -0500
Newsgroups gmane.comp.java.plexus.devel
Message-ID <[email protected]>
Update of /cvsroot/plexus/plexus-container/src/java/org/apache/plexus
In directory eng.werken.com:/tmp/cvs-serv21481/src/java/org/apache/plexus

Modified Files:
	PlexusContainer.java 
Log Message:
Formatting changes only.  Just cleaning things up.



Index: PlexusContainer.java
===================================================================
RCS file: /cvsroot/plexus/plexus-container/src/java/org/apache/plexus/PlexusContainer.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- PlexusContainer.java	1 May 2003 19:35:35 -0000	1.6
+++ PlexusContainer.java	13 Jun 2003 01:08:49 -0000	1.7
@@ -1,13 +1,7 @@
-/**
- * Created by IntelliJ IDEA.
- * User: jvanzyl
- * Date: Mar 20, 2003
- * Time: 12:28:26 PM
- * To change this template use Options | File Templates.
- */
 package org.apache.plexus;
 
 import com.werken.classworlds.ClassWorld;
+
 import org.apache.plexus.configuration.ConfigurationResourceException;
 import org.apache.plexus.lifecycle.LifecycleHandler;
 import org.apache.plexus.service.repository.ComponentRepository;
@@ -16,56 +10,48 @@
 
 public interface PlexusContainer
 {
-    /** */
-    void addContextValue( Object key, Object value );
-
-    /** */
-    LifecycleHandler getLifecycleHandler();
+    // ----------------------------------------------------------------------
+    // Lifecylce Management
+    // ----------------------------------------------------------------------
 
     /** */
-    ClassLoader getClassLoader();
+    public void initialize()
+        throws Exception;
 
     /** */
-    void setClassWorld( ClassWorld classWorld );
+    public void start()
+        throws Exception;
 
     /** */
-    void setClassLoader( ClassLoader classLoader );
-
-    /**
-     *
-     * @param configuration
-     * @throws ConfigurationResourceException
-     */
-    void setConfigurationResource( Reader configuration )
-        throws ConfigurationResourceException;
+    public void dispose();
 
     // ----------------------------------------------------------------------
-    // Lifecylce Management
+    // Pre-initialization - can only be called prior to initialization
     // ----------------------------------------------------------------------
+    
+    /** */
+    public void addContextValue( Object key, Object value );
 
-    void initialize()
-        throws Exception;
-
-    void start()
-        throws Exception;
+    /** */
+    public void setClassWorld( ClassWorld classWorld );
 
-    // ----------------------------------------------------------------------
-    //  Inheritance
-    // ----------------------------------------------------------------------
+    /** */
+    public void setClassLoader( ClassLoader classLoader );
 
-    // Inheritance
-    //void setParent( PlexusContainer container );
+    /** */
+    public void setConfigurationResource( Reader configuration )
+        throws ConfigurationResourceException;
 
     // ----------------------------------------------------------------------
-    //  Lifecycle
+    // Post-initialization - can only be called post initialization
     // ----------------------------------------------------------------------
 
-    /**
-     *
-     */
-    void dispose();
+    /** */
+    public LifecycleHandler getLifecycleHandler();
 
-    // required for loader servlet
-    ComponentRepository getComponentRepository();
+    /** */
+    public ClassLoader getClassLoader();
 
+    /** */
+    public ComponentRepository getComponentRepository();
 }