Index: Portlet.java =================================================================== --- Portlet.java (revision 2544) +++ Portlet.java (working copy) @@ -1518,6 +1518,22 @@ } /** + * Returns the original name of the portlet that is defined in portlet.xml + * @return the _originalPortletId + */ + public String getOriginalPortletId() { + return _originalPortletId; + } + + /** + * Sets the original name of the portlet that is defined in portlet.xml + * @param portletId the _originalPortletId to set + */ + public void setOriginalPortletId(String portletId) { + _originalPortletId = portletId; + } + + /** * Initialize the portlet instance. */ public CachePortlet init(PortletConfig portletConfig) @@ -1840,4 +1856,11 @@ */ private List _servletURLPatterns; + /** + * The original name of the portlet. For exmaple a Hot deployed portlet + * will have different name in the memory from the definition in the + * xml file. + */ + private String _originalPortletId; + } \ No newline at end of file