From: bruce m. <tr...@us...> - 2004-07-30 01:33:15
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/service In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7955/modules/core/src/com/babeldoc/core/service Modified Files: ServiceException.java ServiceFactory.java Log Message: javadoc and formatting here. Index: ServiceFactory.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/service/ServiceFactory.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ServiceFactory.java 9 Aug 2003 00:21:13 -0000 1.7 --- ServiceFactory.java 30 Jul 2004 01:33:05 -0000 1.8 *************** *** 84,95 **** */ public class ServiceFactory { ! /** Configuration constants */ public static String CONFIG_NAME = "service/query"; ! /** singleton configuration */ private static ServiceFactory instance = null; /** ! * Private constructor */ private ServiceFactory() { --- 84,95 ---- */ public class ServiceFactory { ! /** Configuration constants. */ public static String CONFIG_NAME = "service/query"; ! /** singleton configuration.*/ private static ServiceFactory instance = null; /** ! * Private constructor. */ private ServiceFactory() { *************** *** 100,106 **** * relevant named services for display, iteration purposes. * ! * @param serviceType hashmap of matching services. ! * ! * @return */ public static Map getAllServices(String serviceType) { --- 100,105 ---- * relevant named services for display, iteration purposes. * ! * @param serviceType all services matching this serviceType. ! * @return all services. */ public static Map getAllServices(String serviceType) { *************** *** 132,139 **** * must have a default (no-argument) constructor or this will fail. * ! * @param name ! * * @return instantiated object (must have a null constructor) - * * @throws ServiceException */ --- 131,136 ---- * must have a default (no-argument) constructor or this will fail. * ! * @param name service name * @return instantiated object (must have a null constructor) * @throws ServiceException */ *************** *** 169,175 **** /** ! * Get the singleton reference * ! * @return DOCUMENT ME! */ protected static ServiceFactory getInstance() { --- 166,172 ---- /** ! * Get the singleton reference. * ! * @return singleton reference */ protected static ServiceFactory getInstance() { Index: ServiceException.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/service/ServiceException.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ServiceException.java 27 Jun 2003 02:20:00 -0000 1.3 --- ServiceException.java 30 Jul 2004 01:33:05 -0000 1.4 *************** *** 66,69 **** --- 66,71 ---- package com.babeldoc.core.service; + import com.babeldoc.core.GeneralException; + /** * Handling service exceptions. This is straight specialization of *************** *** 73,98 **** * @version 1.0 */ ! public class ServiceException extends com.babeldoc.core.GeneralException { /** ! * Service exception * ! * @param name ! * @param e */ ! public ServiceException(String name, Throwable e) { ! super(name, e); } /** ! * Service exception * ! * @param name */ ! public ServiceException(String name) { ! super(name); } /** ! * Service exception */ public ServiceException() { --- 75,100 ---- * @version 1.0 */ ! public class ServiceException extends GeneralException { /** ! * Service exception. * ! * @param message exception message ! * @param e parent exception */ ! public ServiceException(String message, Throwable e) { ! super(message, e); } /** ! * Service exception. * ! * @param message exception message */ ! public ServiceException(String message) { ! super(message); } /** ! * Service exception. */ public ServiceException() { |