mcconnell 2002/07/30 00:08:03 Added: assembly/src/java/org/apache/excalibur/merlin/assembly/resource Extension.java Resources.properties Removed: assembly/src/java/org/apache/excalibur/merlin/assembly/resource AbstractLifecycleExtensionManager.java~ ExtensionManager.java~ LifecycleExtensionManager.java~ PhaseManager.java Log: Addition of support for pluggable extensions. Revision Changes Path 1.1 jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/assembly/resource/Extension.java Index: Extension.java =================================================================== /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software License * version 1.1, a copy of which has been included with this distribution in * the LICENSE.txt file. */ package org.apache.excalibur.merlin.assembly.resource; import org.apache.avalon.framework.context.Context; /** * <code>PhaseExtension</code> interface. This interface defines the methods that * a container can invoke on a phase handler extension. * * @author <a href="mailto:[EMAIL PROTECTED]">Stephen McConnell</a> * @author <a href="mailto:[EMAIL PROTECTED]">Marcus Crafter</a> * @version CVS $Revision: 1.1 $ $Date: 2002/07/30 07:08:02 $ */ public interface Extension { public static final int CREATE = 0; public static final int ACCESS = 1; public static final int RELEASE = 2; public static final int DESTROY = 3; /** * Apply lifecycle phase extension. * * @param stage the lifecycle stage * @param object the object to apply the extension to * @param context the context * @exception Exception if an error occurs */ void extend( int stage, Object object, Context context ) throws Exception; } 1.1 jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/merlin/assembly/resource/Resources.properties Index: Resources.properties =================================================================== lifecycle.stage.notice=Component named "{0}" is passing through the {1,choice,0#Creation|1#Logger initialization|2#Contextualization|3#Composing|4#Configuration|5#Parameterizing|6#Extension-CREATE|7#Initialization|8#Starting|9#Stopping|10#Extension-DESTROY|11#Disposing|12#Destruction} stage. lifecycle.fail.error=Component named "{0}" failed to pass through the {1,choice,0#Creation|1#Logger initialization|2#Contextualization|3#Composing|4#Configuration|5#Parameterizing|6#Extension-CREATE|7#Initialization|8#Starting|9#Stopping|10#Extension-DESTROY|11#Disposing|12#Destruction} stage. (Reason: {2}).
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>