mcconnell 2002/09/12 08:10:00
Modified: container build.xml
container/src/java/org/apache/excalibur/container/classloader
ComponentClassLoader.java
Log:
Optimizing logging levels.
Revision Changes Path
1.6 +22 -0 jakarta-avalon-excalibur/container/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/container/build.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- build.xml 24 Aug 2002 11:47:30 -0000 1.5
+++ build.xml 12 Sep 2002 15:10:00 -0000 1.6
@@ -322,4 +322,26 @@
<delete dir="${dist.base}" />
</target>
+ <!--
+ Misc. utilities.
+ -->
+
+ <target name="patch">
+ <replace dir="src/java"
+ token="getTypes("
+ value="getTypeEntries(" >
+ <include name="**/classloader/*.java"/>
+ </replace>
+ <replace dir="src/java"
+ token="getBlocks("
+ value="getBlockEntries(" >
+ <include name="**/classloader/*.java"/>
+ </replace>
+ <replace dir="src"
+ token="getServices("
+ value="getServiceEntries(" >
+ <include name="**/classloader/*.java"/>
+ </replace>
+ </target>
+
</project>
1.4 +3 -3
jakarta-avalon-excalibur/container/src/java/org/apache/excalibur/container/classloader/ComponentClassLoader.java
Index: ComponentClassLoader.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/container/src/java/org/apache/excalibur/container/classloader/ComponentClassLoader.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ComponentClassLoader.java 11 Sep 2002 20:36:18 -0000 1.3
+++ ComponentClassLoader.java 12 Sep 2002 15:10:00 -0000 1.4
@@ -94,7 +94,7 @@
* Get an array of the block names. These are treated separately from
* the generic <code>Type</code>
*/
- public String[] getBlocks()
+ public String[] getBlockEntries()
{
return (String[]) m_blocks.toArray( new String[ m_blocks.size() ] );
}
@@ -103,7 +103,7 @@
* Get an array of the type names. These are treated separately from
* the Phoenix specific <code>Block</code>
*/
- public String[] getTypes()
+ public String[] getTypeEntries()
{
return (String[]) m_types.toArray( new String[ m_types.size() ] );
}
@@ -111,7 +111,7 @@
/**
* Get an array of the service names.
*/
- public String[] getServices()
+ public String[] getServiceEntries()
{
return (String[]) m_services.toArray( new String[ m_services.size() ] );
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>