portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r536245 - in /portals/jetspeed-2/trunk: components/portal/src/java/org/apache/jetspeed/velocity/ jetspeed-api/src/java/org/apache/jetspeed/aggregator/ jetspeed-api/src/java/org/apache/jetspeed/layout/
Date Tue, 08 May 2007 16:35:32 GMT
Author: taylor
Date: Tue May  8 09:35:31 2007
New Revision: 536245

URL: http://svn.apache.org/viewvc?view=rev&rev=536245
Log:
https://issues.apache.org/jira/browse/JS2-688
Unable to use Jetspeed services
Needed to add an API for the JetspeedPowerToolFactory

Added:
    portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/layout/JetspeedPowerToolFactory.java
Modified:
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolFactory.java
    portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/aggregator/PortletRenderer.java

Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolFactory.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolFactory.java?view=diff&rev=536245&r1=536244&r2=536245
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolFactory.java
(original)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedPowerToolFactory.java
Tue May  8 09:35:31 2007
@@ -25,7 +25,7 @@
 import org.apache.jetspeed.request.RequestContext;
 import org.apache.jetspeed.services.title.DynamicTitleService;
 
-public class JetspeedPowerToolFactory
+public class JetspeedPowerToolFactory implements org.apache.jetspeed.layout.JetspeedPowerToolFactory
 {
     protected static final Log log = LogFactory.getLog(JetspeedPowerToolFactory.class);
     
@@ -46,10 +46,7 @@
         this.titleService = titleService;
         this.renderer = renderer;
     }
-    
-    
-    
-    
+       
     public JetspeedPowerTool getJetspeedPowerTool(RequestContext requestContext)
     throws PortletException
     {

Modified: portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/aggregator/PortletRenderer.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/aggregator/PortletRenderer.java?view=diff&rev=536245&r1=536244&r2=536245
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/aggregator/PortletRenderer.java
(original)
+++ portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/aggregator/PortletRenderer.java
Tue May  8 09:35:31 2007
@@ -63,6 +63,7 @@
      * The method returns before rendering is complete, rendered content can be
      * accessed through the ContentDispatcher
      * @return the asynchronous portlet rendering job to synchronize
+     * @deprecated
      */
     public RenderingJob render(ContentFragment fragment, RequestContext request);
 

Added: portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/layout/JetspeedPowerToolFactory.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/layout/JetspeedPowerToolFactory.java?view=auto&rev=536245
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/layout/JetspeedPowerToolFactory.java
(added)
+++ portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/layout/JetspeedPowerToolFactory.java
Tue May  8 09:35:31 2007
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.layout;
+
+import javax.portlet.PortletException;
+
+import org.apache.jetspeed.request.RequestContext;
+import org.apache.jetspeed.velocity.JetspeedPowerTool;
+
+/**
+ * Factory interface to retrieve the Jetspeed Power Tool from the current request context.

+ *
+ * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
+ * @version $Id: $
+ */
+public interface JetspeedPowerToolFactory
+{
+    JetspeedPowerTool getJetspeedPowerTool(RequestContext requestContext) throws PortletException;
+}
\ No newline at end of file



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


Mime
View raw message