com.sas.portal.portlet
Interface PortletInitializerInterface

All Superinterfaces:
java.io.Serializable

public interface PortletInitializerInterface
extends java.io.Serializable

Code to run when portlet is initialized the first time.

Since:
09/02/2002

Method Summary
 void initialize(java.util.Properties initProperties, PortletContext context)
          Runs when the portlet is first initialized, on a per-user basis.
 

Method Detail

initialize

void initialize(java.util.Properties initProperties,
                PortletContext context)
Runs when the portlet is first initialized, on a per-user basis. This initializes information that is needed on future rendering of this portlet. This is called only on the first time that the portlet is rendered on a user's login. The information stored here should be only that which is expected to persist across the growth of information in the portlet, such as the success and failure paths for the portlet.

Parameters:
initProperties - The properties to get information from, such as initProperties.getProperty("display-page") and initProperties.getProperty("empty-page")
context - where to store information, such as context.setAttribute("display-page", initProperties.getProperty("display-page"))



Copyright © 2009 SAS Institute Inc. All Rights Reserved.