| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
This interface is designed to be implemented by clients. |
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |