mcconnell 2002/09/22 01:30:08
Modified: meta/src/java/org/apache/excalibur/meta/info Type.java
Log:
Updated minor inconsitency on the API for accessor to stage descriptorors. Was
getPhases() which has been deprecated in favour of getStages().
Revision Changes Path
1.5 +13 -1
jakarta-avalon-excalibur/meta/src/java/org/apache/excalibur/meta/info/Type.java
Index: Type.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/meta/src/java/org/apache/excalibur/meta/info/Type.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Type.java 15 Sep 2002 00:31:52 -0000 1.4
+++ Type.java 22 Sep 2002 08:30:08 -0000 1.5
@@ -279,11 +279,23 @@
* Return the lifecycle stages extensions required by this extension.
*
* @return an array of stage descriptors.
+ * @deprecated use getStages()
*/
public StageDescriptor[] getPhases()
{
return m_stages;
}
+
+ /**
+ * Return the lifecycle stages extensions required by this component type.
+ *
+ * @return an array of stage descriptors.
+ */
+ public StageDescriptor[] getStages()
+ {
+ return m_stages;
+ }
+
/**
* Return the stages supported by this extension.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>