You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by es...@apache.org on 2007/03/12 21:23:06 UTC
svn commit: r517371 - in
/portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/internal:
PortletEntity.java impl/PortletEntityImpl.java
Author: esm
Date: Mon Mar 12 13:23:05 2007
New Revision: 517371
URL: http://svn.apache.org/viewvc?view=rev&rev=517371
Log:
[PLUTO-339]: Deprecating PortletEntity getControllerServletUri method.
Modified:
portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/internal/PortletEntity.java
portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/internal/impl/PortletEntityImpl.java
Modified: portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/internal/PortletEntity.java
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/internal/PortletEntity.java?view=diff&rev=517371&r1=517370&r2=517371
==============================================================================
--- portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/internal/PortletEntity.java (original)
+++ portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/internal/PortletEntity.java Mon Mar 12 13:23:05 2007
@@ -34,7 +34,13 @@
/**
* Returns the URI to the controller servlet that wraps this portlet.
+ * <p>
+ * Note: this method has been deprecated as of Pluto 1.1.2. Future versions
+ * of Pluto will use the <code>PortletInvokerService</code> for resolving
+ * the invoker url pattern.
+ *
* @return the URI to the controller servlet that wraps this portlet.
+ * @deprecated
*/
public String getControllerServletUri();
Modified: portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/internal/impl/PortletEntityImpl.java
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/internal/impl/PortletEntityImpl.java?view=diff&rev=517371&r1=517370&r2=517371
==============================================================================
--- portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/internal/impl/PortletEntityImpl.java (original)
+++ portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/internal/impl/PortletEntityImpl.java Mon Mar 12 13:23:05 2007
@@ -82,8 +82,13 @@
/**
* Returns the URI to the controller servlet that wraps this portlet.
* @return the URI to the controller servlet that wraps this portlet.
+ * @deprecated
*/
public String getControllerServletUri() {
+ // this method is deprecated as of pluto 1.1.2, so that
+ // we can remove it in the future. The PortletInvokerService
+ // will be responsible for resolving the URI used to invoke
+ // the portlet.
return PREFIX + portletName;
}