You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by do...@apache.org on 2001/02/25 13:27:56 UTC
cvs commit: jakarta-avalon-phoenix/src/java/org/apache/phoenix BlockContext.java
donaldp 01/02/25 04:27:56
Modified: src/java/org/apache/phoenix BlockContext.java
Log:
Updated javadocs and added getBaseLogger() method.
Revision Changes Path
1.2 +15 -2 jakarta-avalon-phoenix/src/java/org/apache/phoenix/BlockContext.java
Index: BlockContext.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/phoenix/BlockContext.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- BlockContext.java 2001/02/24 04:30:59 1.1
+++ BlockContext.java 2001/02/25 12:27:55 1.2
@@ -39,8 +39,8 @@
String getName();
/**
- * Retrieve thread manager by category.
- * ThreadManagers are given names so that you can manage different thread
+ * Retrieve thread pool by category.
+ * ThreadPools are given names so that you can manage different thread
* count to different components.
*
* @param category the category
@@ -48,5 +48,18 @@
*/
ThreadPool getThreadPool( String category );
+ /**
+ * Retrieve default thread pool.
+ * Equivelent to getThreadPool( "default" );
+ *
+ * @return the default ThreadPool
+ */
ThreadPool getDefaultThreadPool();
+
+ /**
+ * Retrieve logger coresponding to root category of application.
+ *
+ * @return the base logger
+ */
+ Logger getBaseLogger();
}