You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/03/24 13:18:26 UTC
cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/application State.java BlockEntry.java LifecycleHelper.java
donaldp 02/03/24 04:18:26
Modified: src/java/org/apache/avalon/phoenix/components/application
BlockEntry.java LifecycleHelper.java
Added: src/java/org/apache/avalon/phoenix/components/application
State.java
Log:
Fully decouple from the excalibur.container package.
Revision Changes Path
1.5 +0 -1 jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/application/BlockEntry.java
Index: BlockEntry.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/application/BlockEntry.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- BlockEntry.java 11 Dec 2001 10:13:33 -0000 1.4
+++ BlockEntry.java 24 Mar 2002 12:18:25 -0000 1.5
@@ -7,7 +7,6 @@
*/
package org.apache.avalon.phoenix.components.application;
-import org.apache.avalon.excalibur.container.State;
import org.apache.avalon.phoenix.Block;
import org.apache.avalon.phoenix.metadata.BlockMetaData;
import org.apache.avalon.phoenix.metainfo.BlockInfo;
1.32 +0 -1 jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/application/LifecycleHelper.java
Index: LifecycleHelper.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/application/LifecycleHelper.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- LifecycleHelper.java 21 Mar 2002 08:33:22 -0000 1.31
+++ LifecycleHelper.java 24 Mar 2002 12:18:25 -0000 1.32
@@ -7,7 +7,6 @@
*/
package org.apache.avalon.phoenix.components.application;
-import org.apache.avalon.excalibur.container.State;
import org.apache.avalon.excalibur.i18n.ResourceManager;
import org.apache.avalon.excalibur.i18n.Resources;
import org.apache.avalon.framework.CascadingException;
1.1 jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/application/State.java
Index: State.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.avalon.phoenix.components.application;
import org.apache.avalon.framework.ValuedEnum;
/**
* Defines possible states for contained components.
*
* @author <a href="mailto:peter@apache.org">Peter Donald</a>
*/
final class State
extends ValuedEnum
{
/**
* VOID is the initial state of all components.
*/
public final static State VOID = new State( "VOID", 0 );
/**
* CREATING indicates that the Component is in process of being created.
*/
public final static State CREATING = new State( "CREATING", 0 );
/**
* CREATED is the state the component exists in after it has been
* successfully created but before it has been prepared.
*/
public final static State CREATED = new State( "CREATED", 0 );
/**
* READYING indicates that the component is being prepared for service.
* In terms of Avalons Component Lifecycle this would indicate Loggable,
* Contextualizable, Composable, Configurable and Initializable stages.
*/
public final static State READYING = new State( "READYING", 0 );
/**
* READY indicates that the component is ready to be started
* or destroyed as appropriate.
*/
public final static State READY = new State( "READY", 0 );
/**
* STARTING indicates that the component is being started.
*/
public final static State STARTING = new State( "STARTING", 0 );
/**
* STARTED indicates that the component has been started.
*/
public final static State STARTED = new State( "STARTED", 0 );
/**
* STOPPING indicates that the component is being stopped.
*/
public final static State STOPPING = new State( "STOPPING", 0 );
/**
* STOPPED indicates that the component has been stopped.
*/
public final static State STOPPED = new State( "STOPPED", 0 );
/**
* DESTROYING indicates that the component is being destroyed.
*/
public final static State DESTROYING = new State( "DESTROYING", 0 );
/**
* DESTROYED indicates that the component has been destroyed.
*/
public final static State DESTROYED = new State( "DESTROYED", 0 );
/**
* FAILED indicates that the component is in a FAILED state. This is
* usually the result of an error during one of the transition states.
*/
public final static State FAILED = new State( "FAILED", 0 );
protected State( final String name, final int value )
{
super( name, value );
}
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>