costin 2003/01/10 10:59:50 Modified: catalina/src/share/org/apache/catalina/loader WebappLoader.java Log: Some info for the jmx console. It's nice to see the repositories. It would also be nice to have a method to display info about how a class will be loaded ( from parent or what repo ) as well as last mod time. I'll try to use WebppLoader as a basis for a loader to be used in modeler - and merge it with the StandardLoader ( i.e. support both filesystem and jndi sources ). Having more JMX support in the loader will help track a lot of problems. Wish I had more time... Revision Changes Path 1.6 +16 -4 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/WebappLoader.java Index: WebappLoader.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/WebappLoader.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- WebappLoader.java 16 Oct 2002 16:08:29 -0000 1.5 +++ WebappLoader.java 10 Jan 2003 18:59:50 -0000 1.6 @@ -545,6 +545,18 @@ } + public String[] getRepositories() { + return ((String[])repositories.clone()); + } + + public String getRepositoriesString() { + StringBuffer sb=new StringBuffer(); + for( int i=0; i<repositories.length ; i++ ) { + sb.append( repositories[i]).append(":"); + } + return sb.toString(); + } + /** * Has the internal repository associated with this Loader been modified,
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>