CVS: plexus-container-new/src/java/org/apache/plexus/lifecycle LifecycleHandler.java,1.1.1.1,1.2
| Newsgroups | gmane.comp.java.plexus.devel |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/plexus/plexus-container-new/src/java/org/apache/plexus/lifecycle
In directory eng.werken.com:/tmp/cvs-serv19024/lifecycle
Modified Files:
LifecycleHandler.java
Log Message:
o We don't need the PlexusDefaults. Bad idea, will just use the configuration
and pass it around to factories to create the base entities required
in the container.
Index: LifecycleHandler.java
===================================================================
RCS file: /cvsroot/plexus/plexus-container-new/src/java/org/apache/plexus/lifecycle/LifecycleHandler.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- LifecycleHandler.java 29 Mar 2003 03:49:44 -0000 1.1.1.1
+++ LifecycleHandler.java 25 Apr 2003 19:24:42 -0000 1.2
@@ -1,11 +1,21 @@
package org.apache.plexus.lifecycle;
import org.apache.plexus.service.repository.ServiceCapsule;
+import org.apache.plexus.lifecycle.phase.Phase;
+import org.apache.avalon.framework.configuration.Configuration;
+import org.apache.avalon.framework.configuration.ConfigurationException;
import java.util.Map;
public interface LifecycleHandler
{
+ /** */
+ public static String LOGGER = "logger";
+ /** */
+ public static String CONTEXT = "context";
+ /** */
+ public static String SERVICE_REPOSITORY = "service.repository";
+
/** Set lifecycle specifics.
*
* The lifecycle of a particular service may vary from implementation
@@ -30,4 +40,12 @@
*/
void endLifecycle( ServiceCapsule service )
throws Exception;
+
+ void initialize()
+ throws Exception;
+
+ void addBeginSegmentPhase( Phase phase );
+
+ void addEndSegmentPhase( Phase phase );
+
}