portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/services/registry RegistryImporter.java HybridRegistryService.java
Date Wed, 21 Jul 2004 18:54:35 GMT
taylor      2004/07/21 11:54:35

  Modified:    src/java/org/apache/jetspeed/services/registry
                        RegistryImporter.java HybridRegistryService.java
  Log:
  Portlet registry support for database
  
  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.5       +3 -2      jakarta-jetspeed/src/java/org/apache/jetspeed/services/registry/RegistryImporter.java
  
  Index: RegistryImporter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/registry/RegistryImporter.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RegistryImporter.java	19 Jul 2004 04:25:09 -0000	1.4
  +++ RegistryImporter.java	21 Jul 2004 18:54:35 -0000	1.5
  @@ -118,7 +118,8 @@
                   {
                       RegistryEntry exportEntry = (RegistryEntry) enum.nextElement();
   
  -                    if (registryName.equals(org.apache.jetspeed.services.Registry.SECURITY))
                   
  +                    if (registryName.equals(org.apache.jetspeed.services.Registry.SECURITY)
||
  +                        registryName.equals(org.apache.jetspeed.services.Registry.PORTLET))
   
                       {
                           if (null == importerService.getEntry(registryName, exportEntry.getName()))
                           {
  
  
  
  1.8       +3 -2      jakarta-jetspeed/src/java/org/apache/jetspeed/services/registry/HybridRegistryService.java
  
  Index: HybridRegistryService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/registry/HybridRegistryService.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- HybridRegistryService.java	20 Jul 2004 04:09:54 -0000	1.7
  +++ HybridRegistryService.java	21 Jul 2004 18:54:35 -0000	1.8
  @@ -124,6 +124,7 @@
           }
           catch (Throwable t)
           {
  +            t.printStackTrace();
               logger.error("Failed to load cache for registry: " + registryName, t);
               throw new InitializationException("Unable to initialize HybridRegistryService
cache", t); 
           }
  @@ -289,7 +290,7 @@
                       SecurityDbEntryPeer.removeSecurityEntry(entryName);        
                       registry.removeLocalEntry(entryName);
               }
  -            else if (registryName.equals(org.apache.jetspeed.services.Registry.SECURITY))
  +            else if (registryName.equals(org.apache.jetspeed.services.Registry.PORTLET))
               {
                   PortletDbEntryPeer.removePortletEntry(entryName);        
                   registry.removeLocalEntry(entryName);                
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message