costin 2002/12/26 10:19:43 Modified: modeler/src/java/org/apache/commons/modeler BaseRegistry.java Log: Pass the source, for better debugging ( if an error happens, we should log the file where the error happened ) Revision Changes Path 1.4 +10 -4 jakarta-commons/modeler/src/java/org/apache/commons/modeler/BaseRegistry.java Index: BaseRegistry.java =================================================================== RCS file: /home/cvs/jakarta-commons/modeler/src/java/org/apache/commons/modeler/BaseRegistry.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- BaseRegistry.java 5 Nov 2002 19:15:07 -0000 1.3 +++ BaseRegistry.java 26 Dec 2002 18:19:43 -0000 1.4 @@ -166,14 +166,20 @@ /** Load component descriptors from a stream. * - * @param is - * @param type The type of the descriptor. Right now only 'modeler' is - * supported. In future we may add 'jboss' or other dtds. + * @param location Location - used to display error messages + * @param is Stream to read the data from + * @param type The type of the descriptor. Supported: MbeansDescriptorsDOM, + * MbeansDescriptorsDigester. */ - public void loadDescriptors( InputStream is, String type ) + public void loadDescriptors( String location, InputStream is, String type ) throws Exception { + } + + public void loadDescriptors( InputStream is, String type ) + throws Exception + { } /** Locate descriptors in the class loader, using a discovery mechansim
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>