taylor 2004/08/16 21:15:16
Modified: src/java/org/apache/jetspeed/services/registry
LateInitCastorRegistryService.java
Log:
premature commitualation
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.2 +6 -8
jakarta-jetspeed/src/java/org/apache/jetspeed/services/registry/LateInitCastorRegistryService.java
Index: LateInitCastorRegistryService.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/registry/LateInitCastorRegistryService.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- LateInitCastorRegistryService.java 17 Aug 2004 04:08:38 -0000 1.1
+++ LateInitCastorRegistryService.java 17 Aug 2004 04:15:16 -0000 1.2
@@ -30,9 +30,7 @@
//turbine stuff
import org.apache.turbine.services.InitializationException;
import org.apache.turbine.services.TurbineBaseService;
-import org.apache.turbine.services.TurbineServices;
import org.apache.turbine.services.servlet.TurbineServlet;
-import org.apache.turbine.services.servlet.ServletService;
import org.apache.turbine.services.resources.ResourceService;
// castor marshalling
@@ -94,14 +92,14 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Santiago Gala</a>
* @version $Id$
*/
-public class CastorRegistryService
+public class LateInitCastorRegistryService
extends TurbineBaseService
implements RegistryService, FileRegistry, MessageListener
{
/**
* Static initialization of the logger for this class
*/
- private static final JetspeedLogger logger =
JetspeedLogFactoryService.getLogger(CastorRegistryService.class.getName());
+ private static final JetspeedLogger logger =
JetspeedLogFactoryService.getLogger(LateInitCastorRegistryService.class.getName());
public static final int DEFAULT_REFRESH = 300;
public static final String DEFAULT_EXTENSION = ".xreg";
@@ -342,7 +340,7 @@
{
try
{
- Messenger.addMessageListener(this,
CastorRegistryService.class.getName(), MessagingService.REGISTRY_UPDATE_SUBJECT);
+ Messenger.addMessageListener(this,
LateInitCastorRegistryService.class.getName(),
MessagingService.REGISTRY_UPDATE_SUBJECT);
}
catch(Exception e)
{
@@ -368,7 +366,7 @@
}
catch (Throwable t)
{
- throw new InitializationException("Unable to initialize
CastorRegistryService, missing config keys");
+ throw new InitializationException("Unable to initialize
LateInitCastorRegistryService, missing config keys");
}
// build the map of default fragments, eahc registry must be associated
@@ -392,7 +390,7 @@
catch (Exception e)
{
logger.error("RegistryService: Registry init error", e);
- throw new InitializationException("Unable to initialize
CastorRegistryService, invalid registries definition");
+ throw new InitializationException("Unable to initialize
LateInitCastorRegistryService, invalid registries definition");
}
// create the serializer output format
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]