com.ibm.portal.theme.plugin
Interface Reusable


public interface Reusable

Tags an implementation as "reusable". The content class is not re-instantiated for each request. Creating theme extensions which implement this interface is recommended for performance reasons. Instead of having to instantiate a new instance of the ThemeContent class for every request, the class is instantiated once and re-initialized for every request. All clean up between requests should be handled in the ThemeContent.init(com.ibm.portal.theme.plugin.ThemeContext) and ThemeContext#initContext(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) methods.

Since:
6.1
Note:
This interface is designed to be implemented by clients.