portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/components/portletregsitry PortletRegistryComponent.java PortletRegistryComponentImpl.java
Date Tue, 02 Mar 2004 02:01:19 GMT
weaver      2004/03/01 18:01:19

  Modified:    components/registry/src/java/org/apache/jetspeed/components/portletregsitry
                        PortletRegistryComponent.java
                        PortletRegistryComponentImpl.java
  Log:
  expose the PersistenceStore this component is using making it easier
  to manipulate the transaction, if needed.
  
  Revision  Changes    Path
  1.3       +13 -0     jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/components/portletregsitry/PortletRegistryComponent.java
  
  Index: PortletRegistryComponent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/components/portletregsitry/PortletRegistryComponent.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PortletRegistryComponent.java	23 Feb 2004 13:13:17 -0000	1.2
  +++ PortletRegistryComponent.java	2 Mar 2004 02:01:19 -0000	1.3
  @@ -57,6 +57,7 @@
   import java.util.List;
   import java.util.Locale;
   
  +import org.apache.jetspeed.components.persistence.store.PersistenceStore;
   import org.apache.jetspeed.om.common.portlet.MutablePortletApplication;
   import org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite;
   import org.apache.pluto.om.common.Language;
  @@ -189,5 +190,17 @@
        *
        */
   	PortletDefinitionComposite getStoreableInstance(PortletDefinitionComposite portlet);
  +	
  +	/**
  +	 * 
  +	 * <p>
  +	 * getPersistenceStore
  +	 * </p>
  +	 * 
  +	 * @return the PersistenceStore sued to persist registry
  +	 * information.
  +	 *
  +	 */
  +	PersistenceStore getPersistenceStore();
   
   }
  
  
  
  1.3       +1 -1      jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/components/portletregsitry/PortletRegistryComponentImpl.java
  
  Index: PortletRegistryComponentImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/components/portletregsitry/PortletRegistryComponentImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PortletRegistryComponentImpl.java	23 Feb 2004 13:13:17 -0000	1.2
  +++ PortletRegistryComponentImpl.java	2 Mar 2004 02:01:19 -0000	1.3
  @@ -190,7 +190,7 @@
           return new ArrayList(store.getExtent(portletDefClass));
       }
   
  -    protected PersistenceStore getPersistenceStore()
  +    public PersistenceStore getPersistenceStore()
       {
           return storeContainer.getStoreForThread(jetspeedStoreName);
       }
  
  
  

---------------------------------------------------------------------
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